The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Jquery url validation / Allow only specific urls
#2
(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 ? Huh

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?
  Reply


Messages In This Thread
RE: Jquery url validation / Allow only specific urls - by mudmin - 02-19-2019, 10:27 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)