Web developers wiki ASP.NET Sitecore Sharepoint Kentico by Evident Interactive

Webforms for marketers: change minimum and maximum date validation

Modified: 2009/07/20 13:46 by jim - Categorized as: Sitecore
When I wanted to set the Start date and End date validation I found out I couldn't change them through the normal interface. The dates cant be changed by just typing in the text boxes and changing it through the popup calender window wouldnt persist (using the two buttons circled in the added image).

Date validation

Date validation

Solution: Add two nodes to the Parameters field of the Form Field: <StartDate>19500101T120000</StartDate> <EndDate>20500101T120000</EndDate>

 © Evident Interactive BV