02-19-2019, 10:27 PM
(02-19-2019, 10:25 PM)Vtins Wrote: Hi
how can i allow only links from specific urls?
"https://www.youtube.com/watch?v="
so user can only add youtube video urls ?
jquery validation plugin have the rule "url"
but thats not what i need..
any ideas for me ?
What if instead of having them give the whole link, they just give the code... Like if the video is https://www.youtube.com/watch?v=0sr1Xeocuuc have them just submit 0sr1Xeocuuc and you do the rest when you echo it back out?