What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
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.
How to validate complete URL?Asked by acpevans on June 29, 2015 at 02:54 AM
What are the default validation requirements for URLs.
For instance, if I had URL validation turned on and inputted the following:
Which of these would pass validation and which wouldn't?
I create a form with URL Validation option and yes, all of them pass validation. You can try it:
Hope this helps.
Is there a way I can make the validation parameters stricter?
For instance I only want http://www.example.com to pass validation.
Maybe you can add default value for validation. For example http:// or http://www. :
That's half the answer and helpful. Thank you.
However, what if someone deletes the "www."?
I really need to change the validation rules so only http://www.example.com passes the test.
This is because I'm syncing up the jotform submission to Quickbooks via Zapier and the whole process fails if a URL input for this box is not inputted with http://www.
Can I change the validation parameters?
Did you no that you can set a textbox field to validate a URL? Please check the screenshot below:
Feel free to clone this form for a closer look at the condition and see if this works as expected. The following guide should help you in form cloning: http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL
Please check the screenshot below for output of the condition:
Hope this helps.
Do get back to us if you have any questions.