Sanitize value before running validation
Sanitize value before running validation
pamulapati
Posts: 13Questions: 3Answers: 0
in DataTables
As a general expected behavior in the application, user input needs to run through a conversion (common routine/fxn) to remove white-space (aka. trim) and convert to uppercase before running any business logic/validation. Unless specified otherwise, the final saved value will be uppercase with leading/trailing white-space removed. We are expecting this behavior as a editor level.
This discussion has been closed.
Answers
Hi @pamulapati ,
Yep, you can validate the input both on the client and the server. You can also perform conversion on both the client and server too.
Cheers,
Colin