I have run into a problem trying to modify a form I myself have not built.

The form has a asp:input field for a date value, wich is checked by a requiredFieldVal and a rangeVal. The rangeVal has type set to "date" and min value 2000-01-01: max value 3000-01-01

Now to the problem, I'm trying to add so that the user also can input the date in the form of "20000101" in other words without the "-".

I tried adding another rangeVal with Integer type and the min,max values, and put them both in the same ValidationGroup, but that didnt work.

How do I allow the user to use both (either one of them) formats in the date input field.

Thank you in advance!