Thanks, it works. But there are some issues:.
First, it automatically add "Required" word to the end of the input box. I don't want that. How do I remove it?
Secondly, a space is not detected as blank. If you enter a space to the field, it pass the required field validation.
Lastly, how do do I customize the error message? Now I am getting
"This field is required" error message when this field is left blank. I want to change the error message to another language (non-English).
My view code is like this: @inputText(contactForm("name"), '_label -> "Your Name")