JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Error handling when pasting source code into my siteAsked by ktomasso on October 06, 2016 at 03:43 PM
I chose to paste the HTML into my site to keep the markup and styles to a minum. I kept all of the script tags intact but removed all styles and links to external style sheets.
Everything works, however when there's an error from the server, e.g. a required field not properly filled in, it takes the user to a separate jotform error page with a link to get back to my site after submit. I'd much rather have the error print out on my contact page.
Which snippets of code control the error handling on the page? It seems I've lost all my client-side error handling as well. I'd like to add this functionality back in while keeping my markup and stylesheet clean of most of the jotform defaults. Is this possible?
The validation seems to be not working due to conflict between form Prototype JS and jQuery on your web page.
You can try to add the jQuery.noConflict() snippet after your scripts.
The validation CSS is under formCss.css file.
<link target="_blank" href="https://cdn.jotfor.ms/static/formCss.css?3.3.15156" rel="nofollow" rel="stylesheet" type="text/css" />
If you need any further assistance, please let us know.