-
IOCDFAsked 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?
-
David JotForm SupportReplied on August 13, 2014 at 3: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!