Adding Validation Controls for hostname and validation message for email

parent 98b3b2b2
......@@ -71,11 +71,14 @@
</suppressVersion>
<VisibleEmail type="EmailField">
<default>admin@localhost</default>
<ValidationMessage>Please enter a valid email address</ValidationMessage>
<Required>N</Required>
</VisibleEmail>
<VisibleHostname type="TextField">
<default>localhost</default>
<Required>N</Required>
<mask>/^([0-9a-zA-Z.,_\-]){0,1024}$/u</mask>
<ValidationMessage>Please enter a valid servername, ip address or leave this option blank</ValidationMessage>
</VisibleHostname>
<cache>
<local>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment