Hi there,
I have created a form and using custom server side validation to check form field input. If validation fails, I want to display error message to the user but keeping the input values in the form fields. Everything works fine and I can use the Event loop function to display the form with input values intact. The only issue I have is the once submit button is clicked and validation displays the error messages, the URL reads something like this http://mydomainname.com/form-one?chronoform=form_test_one&event=submit where as I want it to display the original URL when the form was loaded the first time like http://mydomainname.com/form-one. If I use a redirect to over-write the URL, I cannot display the error message above the form body and cannot keep the input values in the fields. Any easy solution for this? Thanks.
Zaheer
I have created a form and using custom server side validation to check form field input. If validation fails, I want to display error message to the user but keeping the input values in the form fields. Everything works fine and I can use the Event loop function to display the form with input values intact. The only issue I have is the once submit button is clicked and validation displays the error messages, the URL reads something like this http://mydomainname.com/form-one?chronoform=form_test_one&event=submit where as I want it to display the original URL when the form was loaded the first time like http://mydomainname.com/form-one. If I use a redirect to over-write the URL, I cannot display the error message above the form body and cannot keep the input values in the fields. Any easy solution for this? Thanks.
Zaheer
This topic is locked and no more replies can be posted.