I want to change the form state according to my custom code.
when I click submit button it runs my javascript code. But even I set the display property of the error state to display, it automatically displays the success state form. Not displays the error state.
Please help me to resolve this?
Here is my site Read-Only: LINK
(how to share your site Read-Only link)