Apply mask to field on page inizialate

Hello Community!

 

I have a mask in a interger field, but I need to apply that on the page inizialate because I have record inserted directly to the database.

 

 

Like 0

Like

1 comments

Dear Federico,

 

An input mask helps users with the input by ensuring a predefined format. If you have record inserted directly to the database, you won’t be able to apply the input mask for this record. In order to validate this record, please consider creating a trigger in the database that should be triggered before inserting the record. Please find more information about triggers in the article by the link below:

 

https://www.essentialsql.com/what-is-a-database-trigger/

 

Best regards,

Norton

Show all comments