No error warning on submission

jjspelman 04 Jun, 2018
When a person attempts to submit a form and does not complete one of the fields correctly, the form does not offer a warning to let the person know. The form does not submit and the user is confused.

When I completed the form with an empty field, again there was no warning. The form just didn't submit.


Only when I scroll back up the page does it then show one of the fields that were not filled properly.

Shouldn't there be a warning of sorts?
GreyHead 05 Jun, 2018
Hi jjspelman ,

Yes, there is if validation is enabled. Do you have any JavaScript errors on the page? That can stop the validation working.

Bob
jjspelman 05 Jun, 2018
Hi Bob, I am seeing some warnings in the COnsole but am not able to single out any particular issue.

The page in question is here: http://leasetobuyfl.com/lease-application/
GreyHead 06 Jun, 2018
Answer
Hi jjspeman,

There is a JavaScript error in this code on the page that needs to be fixed.
<script>window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)}; ga.l=+new Date; ga('create','UA-98664797-1'','auto');  ga('send','pageview');</script>
There is a second one too ut I think that may be a result of the first.

Bob
jjspelman 06 Jun, 2018
Thanks, Bob. I had an apostrophe in the UA tracking code which was causing that error.
This topic is locked and no more replies can be posted.