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

  • Profile Image
    Asked 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?

  • Profile Image
    Answered on August 13, 2014 at 03:12 PM


    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 "", or it will not show the form collapse containing the submit button:

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

    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!