Textbox Constraint problem

asked 2011-09-08 01:21:25 +0800

foimyst gravatar image foimyst

Is there a problem if I did a very long constraint? or I did something wrong?

<textbox id="email" constraint="no empty, /^+(\.+)*@+\.(((aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|)(\.)?)|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$
/: Not an Email Address" />

I tried my regular expression on different testers and it works. But when I tried it to zk it always shows my error message "Not an Email Address"

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2011-09-21 04:15:24 +0800

matthewgo gravatar image matthewgo

The regular expression cannot work in my enviroment.
I need to remove the character "^+" and then works.

and what is your string for testing

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2011-09-08 01:21:25 +0800

Seen: 412 times

Last updated: Sep 21 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More