Sanitize value before running validation

Sanitize value before running validation

pamulapatipamulapati Posts: 13Questions: 3Answers: 0

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.

Answers

  • colincolin Posts: 4,621Questions: 0Answers: 811

    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

Sign In or Register to comment.