email addresses that end in .local

Jun 28, 2012 at 4:26 PM

Trying to set up and internal ticket system on a local intranet, and people can't enter .local email addresses into their profile.  Tried looking at the validators in the profile.aspx, but I'm horrible at coding/regex, so I can't see what I would need to adjust in order to make slickticket accept .local emails in a user's profile.

Does anyone have any advice/solutions?

Coordinator
Jun 28, 2012 at 8:37 PM

Try changing this

<asp:RegularExpressionValidator ID="regDomain" runat="server" Display="Dynamic" 
                                    ForeColor="" CssClass="error"  ValidationGroup="profile" ControlToValidate="txtDomain" 
                                    ValidationExpression="((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))$" 
                                    meta:resourcekey="regDomainResource1" />

to this:

<asp:RegularExpressionValidator ID="regDomain" runat="server" Display="Dynamic" 
                                    ForeColor="" CssClass="error"  ValidationGroup="profile" ControlToValidate="txtDomain" 
                                    ValidationExpression="((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,5}))$" 
                                    meta:resourcekey="regDomainResource1" />

Jun 29, 2012 at 4:58 PM

Thanks for the tip :-)   I'll try that when I get back to the office.