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.

  • Profile Image

    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?

    Many thanks.

  • Profile Image
    JotForm Designer

    Answered by ibrahim on June 29, 2015 at 03:07 AM


    I create a form with URL Validation option and yes, all of them pass validation. You can try it:


    Hope this helps.


  • Profile Image

    Answered by acpevans on June 29, 2015 at 03:40 AM

    Is there a way I can make the validation parameters stricter?

    For instance I only want http://www.example.com to pass validation.

  • Profile Image
    JotForm Designer

    Answered by ibrahim on June 29, 2015 at 03:46 AM


    Maybe you can add default value for validation. For example http:// or http://www. :

  • Profile Image

    Answered by acpevans on June 29, 2015 at 04:51 AM

    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?

  • Profile Image
    JotForm Support

    Answered by ashwin_d on June 29, 2015 at 09:16 AM

    Hello acpevans,

    Did you no that you can set a textbox field to validate a URL? Please check the screenshot below:

    Since http://www.example.comwww.example.com and example.com all are valid URL, the above validation will not trigger any validation error.

    It is possible to achieve your requirement by adding "Condition logic" in your form. Please take a look at the following demo form I created for you:  http://form.jotformpro.com/form/51760140424950? 

    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.

    Thank you!