Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Email Regular Expression View modes: 
User avatar
Member
Member
pfrancis - 2/17/2009 7:36:40 AM
   
Email Regular Expression
I am trying to add a Regular Expression to an OPTIONAL document field

^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$

The problem is that I won't allow the user to leave the textbox empty on the form

Thanks

User avatar
Guest
pfrancis - 2/18/2009 10:15:27 AM
   
RE:Email Regular Expression
Sorted.

Using email as the Field Type solves this.