Revision history [back]

click to hide/show revision 1
initial version

answered 2013-12-13 11:51:02 +0800

chillworld gravatar image chillworld flag of Belgium

https://github.com/chillw...

already found it :

[email protected](?!mycomp\.com)(.+\.[a-z

so this would be that :

<textbox value="@bind(vm.confirm)" id="confirm_email" 
width="250px" 
constraint="/[email protected](?!mycomp\.com)(.+\.[a-z]+|)/: Please enter a valid e-mail address" 
type="email" placeholder="External address possible" 
disabled="@load vm.confirm eq fx.privateEmail)" />

Its a simple validator that not do all the correct and incorrect one.
You can check the working here :

http://regexpal.com/

already found it :

[email protected](?!mycomp\.com)(.+\.[a-z
[email protected](?!mycomp\.com)(.+\.[a-z]+|)

so this would be that :

<textbox value="@bind(vm.confirm)" id="confirm_email" 
width="250px" 
constraint="/[email protected](?!mycomp\.com)(.+\.[a-z]+|)/: Please enter a valid e-mail address" 
type="email" placeholder="External address possible" 
disabled="@load vm.confirm eq fx.privateEmail)" />

Its a simple validator that not do all the correct and incorrect one.
You can check the working here :

http://regexpal.com/

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