Values assigned to Regex and Error Message from the solution

May 26, 2009 at 4:36 PM

Hello, Gael:

Thanks for this wonderful custom field.

I need to write the regular expression and error message in the code, and that when I deploy these values are already included for the fields I want.

For example, in my site definition i have this field:

    <Field ID="{AF069FA7-B771-42a4-983A-48F68C6F950B}"
DisplayName="Hora Fin"


I need that the regex is ^(([0-1][0-9])|([2][0-3])):([0-5][0-9])$ and the error message = "el formato no es correcto"

Plz tell me there is a solution!!! ;-)