Jamit Software Forum
Welcome, Guest. Please login or register.
May 22, 2019, 10:57:28 pm

Login with username, password and session length
Search:     Advanced search
May 5th, 2010 - Jamit Software Launches the Market!
3,080 Posts in 791 Topics by 1,526,388 Members
Latest Member: DavidTeabe
* Home Help Search Login Register
+  Jamit Software Forum
|-+  Jamit Job Board Customers
| |-+  User-to-User Support
| | |-+  problem with validating email
« previous next »
Pages: [1] Print
Author Topic: problem with validating email  (Read 2292 times)
chris
Jammers
Newbie
*
Posts: 2


« on: September 03, 2009, 10:07:19 am »

hello,
if the email address of a recruiter has several "-" and "." (example : [email protected]), we can not save the post  (because of the pattern in functions.php i think).

I think it's here :

function JB_validate_mail($Email) {
    ...
    $Pattern = "/^([_a-z0-9-]+)(\.[_a-z0-9-]+)*@([a-z0-9-]+)(\.[a-z0-9-]+)*(\.[a-z]{2,})$/siD";
...

Is anybody have the same problem ? ... and have corrected it ?

thank's
chris (Jamit v 3.5.1)
Logged
Adam
Administrator
Hero Member
*****
Posts: 112


« Reply #1 on: September 03, 2009, 11:43:46 am »

A quick check, and it looks all right - [email protected] should match for that pattern.
I checked it here http://www.functions-online.com/preg_match.html and also employer's signup form
If you continue to have a problem, please report this as a bug to www.jamit.com/support/ - please include your site and details for how to confirm the bug.
Logged
chris
Jammers
Newbie
*
Posts: 2


« Reply #2 on: September 03, 2009, 02:35:28 pm »

ok, i do it.
after another test it seem's it is the length...
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.17 seconds with 17 queries.