</div> </div> </div> </header>
How do I set Email Regular Expression?
SharePoint FBA Pack
2014-08-15 13:54:10 UTC
I saw that there is a build-in code for regular expression. How do I set it?
2014-08-15 14:13:02 UTC
I'm not sure what you mean. Do you mean the email XSL templates? They can be set on the FBA Site Configuration page, found in Site Settings.
2014-08-15 14:33:54 UTC
I meant the checking of user input. I want to check if the user entered a valid e-mail address.
2014-08-15 14:55:38 UTC
Oh - we did use to have a regular expression validation for the email address - but there always seemed to be the odd email address that was valid but did not pass the regular expression test - so the check was removed. We only check that the field is present now.
2014-08-15 15:06:50 UTC
I figured. I couldn't find anything in the code that's setting the expression. Anyway, I'm adding a RegularExpressionValidator field in the CreatUserStepTemplate right now. Maybe you could add this to your future patches if you want to. Thanks!