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

    Is there a way to have a field which only accepts links to youtube videos?

    Asked by IOCDF on August 13, 2014 at 12:24 PM

    We are having a youtube video contest and we only want people to be able to send us links to their videos hosted on youtube. Is there a way to make sure that any url submitted is a youtube link?

    Youtube video and
  • Profile Image
    JotForm Support

    Answered by david on August 13, 2014 at 03:12 PM

    Hi,

    You can use conditions as well as the form field validation in order to not only make sure there is a valid URL, but that it also contains the text that you want.  Here is an example form I made that requires a valid URL in a text box as well as "youtube.com", or it will not show the form collapse containing the submit button:

    http://form.jotformpro.com/form/42245579774972?

    You can clone the form to see the setting by following this guide:

    http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Essentially you would need to block a part of the form conditionally until the text you desire is in a the text box:

    There is however no direct way to make sure that a URL is a Youtube URL.

    Please let us know if you have any further questions and we will be happy to help.

    Thank you for using JotForm!