This topic is locked
[SOLVED]

 Overriding registration email address validation for pur

2/1/2011 7:34:06 AM
PHPRunner General questions
E
eventplugin author

Hi there,
I am trying to override the default check for email address during registration in PHPRunner 5.3. My intention is to allow email adresses that contain other characters like + sign for subadressing purposes (which is valid according to RFCs) see :
http://en.wikipedia.org/wiki/Emailaddress
The default email check gives back an invalid address for an email address containing a plus sign and other valid characters. I don't need them all so in the visual editor I put the validation type to regexp and used the following expression :
[a-zA-Z0-9.
\-%-+]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}
which worked in the test box but somehow does not work after uploading the application. Is there a workarround for this?
Thanks, Vivek

E
eventplugin author 2/3/2011

By the way I would be willing to make alterations in the code (even though it would probably get lost with each rebuild) if that is what it takes. Perhaps I am missing the point completely so if I am doing something wrong please feel free to point out my mistake.

E
eventplugin author 2/4/2011

Does anyone know where the validation during registration takes place? I'll be more than happy to go see if I can find the code to edit if someone can point me in the right direction. Any help appreciated.
Thanks!

E
eventplugin author 2/7/2011

OK, I figured out how to disable checking if the email address already exists but that is not what I need. I couldn't find any trace in the PHP code for the validation. So perhaps it is a javascript issue. I am not to familiar with that so if anyone knows where in the code or interface I can influence that it would realy help.
Thanks, Vivek

Sergey Kornilov admin 2/8/2011

Vivek,
you can post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. Someone will take a look and be back to you.

E
eventplugin author 2/9/2011

Thanks Sergey will set up a project demostrating the exact problem and upload it!



Vivek,
you can post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. Someone will take a look and be back to you.