Portlet Factory, Version 6.1.2


 

Validating with the Data Field Modifier builder

The Data Field Modifier builder can be used to validate dates and times.

  1. Configure a Data Field Modifier builder as follows:
    Name: inputdate Fields List of Fields to be modified:
    [page1]page1/DateTime/inputdate Label: Date & Time Variable:
    Formatter Class: com.bowstreet.builders.webapp.pageautomation.StandardFormatter
    	Validate Expression: Required Date(FormatString)
    	Validate Exp Argument: "empty"

    If you leave the Validate Exp Argument empty, the default format is used.

  2. Enter another format in Validate Exp Argument to have the builder validate the date in another format.

Parent topic: Formatting Date and Time values


Library | Support |