This topic is locked

email field validate As:

1/1/2009 5:33:58 PM
PHPRunner General questions
H
horsey_kim author

I am trying to set the validation of a text field to email. I edit the settings for the field in the visual editor, so it is EDIT AS: Text field and validate as: Email
I Uploaded the changes and then ran the screen on my website. I put in the word "test" in the email field and it takes it. It should of rejected it, there is no @ or . and it is shorter than 6 characters.
Isn't it suppose to error if it does not meet the email requirements?
Kim <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=10526&image=1&table=forumtopics' class='bbc_emoticon' alt=':)' />

S
swanside 1/2/2009

I just did that and it works.
My Field in MYSQL is set at VARCHAR (50)
In PHPRunner on the Add Page it is set as Text Field and Validate as Email.
I build it and ran and entered me and pressed save I got a pop up saying The Following Fields must be valid Emails and then the field name
So I put in me@ and got the same, I tried me@meand got the same but when I enter me@me. it accepts it, so I think there maybe an error where it needs to see a domain pointer.

H
horsey_kim author 1/5/2009

Your right. Thanks. I think I ran that 50 times the other day. I then just gave up. I did do an entire upload of all files a few changes ago. I just ran it and it works. So maybe in all the changes I had made, something had not updated right.
Thanks for testing. Very much appreciated.
Kim <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=36448&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />