When we build an e-commerce application (most probably a web application), input validation is one of the core concepts of these type of applications. When the validation fails, we need to provide a user something more that red signals.
For example let's assume that an input field is required and the end user tries to submit the form without filling the required field. The below error messages would be the type of message that we would get:
- Name field is required.
- Name field needs to be filled.
- Please do not leave Name field empty.
- Please fill the Name filed
I am always unsure about these options. Should we really be polite when we are providing validation messages? Do you think end user would hate us if we say so much "please" (if there are multiple messages, we would be saying please, please, please over and over again)?