Welcome Guest, Not a member yet? Register   Sign In
Can't think of an elegant way to do this.. (EMail or URL input - Form)
#1

[eluser]awpti[/eluser]
I currently have a form field on ignitedjobs.com (How to Apply) that only takes a URL because the field value is required|prep_url

Not conducive to handling E-Mail addresses, obviously.

I can't seem to think of an elegant way to test for URL or email content.

As much as I would like to avoid a regular express, it may be the only way.

Is a Regex the only way to go?

Seems like this method is going to add yet another level to my conditional checks (The validation for the Post a Job page is 5 conditionals deep already).


Messages In This Thread
Can't think of an elegant way to do this.. (EMail or URL input - Form) - by El Forum - 08-04-2008, 05:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB