This forum requires Javascript to be enabled for posting content
Select Forum
Announcements
Troubleshooting
Feature Requests
CSS Styling and Layout
Show and Tell
Общие вопросы
внешний вид (CSS)
New/Recently Updated Topics
Comments not showing up for moderat…
Send Email to User if they select c…
It appears that WP has corrupted yo…
Fatal error when using Fix and save…
uploaded image files renamed to xx-…
unintentional redirect
FF cannot display tracked data
Incompatibility with TinyMCE Advanc…
Form hanging on 'one moment please'
Complete PATH to the uploaded image…
cforms stops on submit – sometimes
CSV Export messed up
Best route to creating XML post cap…
disable form while uploading files
one submission per email
Post
New Member
nosharara212
9:58 pm June 2, 2009
posts 1
Great Plugin! I am trying to validate a field as URL, to make sure it is in this URL format: "http://" when submitted (if text is inputted it still passes, where we want it to be rejected, and only accepted when it is a URL inputted).
Can this be done ?
Thanks!
Admin
Oliver
Munich, Germany
7:20 am June 4, 2009
posts 5889
regexp , see your Help! page
Guest
nosharara212
6:04 pm June 8, 2009
Just put this under Regular Expression for anyone who needs this to work:
^(http\:\/\/[a-zA-Z0-9_\-]+(?:\.[a-zA-Z0-9_\-]+)*\.[a-zA-Z]{2,4}(?:\/[a-zA-Z0-9_]+)*(?:\/[a-zA-Z0-9_]+\.[a-zA-Z]{2,4}(?:\?[a-zA-Z0-9_]+\=[a-zA-Z0-9_]+)?)?(?:\&[a-zA-Z0-9_]+\=[a-zA-Z0-9_]+)*)$
Thanks Oliver for pointing in the right direction !
Reply to Topic:
URL Validator?
PLEASE READ THE FAQs FIRST! THANK YOU.
Select Forum
Announcements
Troubleshooting
Feature Requests
CSS Styling and Layout
Show and Tell
Общие вопросы
внешний вид (CSS)
New/Recently Updated Topics
Comments not showing up for moderat…
Send Email to User if they select c…
It appears that WP has corrupted yo…
Fatal error when using Fix and save…
uploaded image files renamed to xx-…
unintentional redirect
FF cannot display tracked data
Incompatibility with TinyMCE Advanc…
Form hanging on 'one moment please'
Complete PATH to the uploaded image…
cforms stops on submit – sometimes
CSV Export messed up
Best route to creating XML post cap…
disable form while uploading files
one submission per email
Currently Online:
Shaman
Dflatt
78 Guests
Membership:
There are 800 Members
There have been 2202 Guests
There is 1 Admin
There are 3 Moderators