DateBox

Top  Previous  Next

  <input type="text" mo:type="DateBox" mo:name="${fieldName}" value="${value}"
      mo:props="
        valueFormat     : '${valueFormat}', 
        displayFormat   : '${displayFormat}', 
        submitFormat    : '${submitFormat}', 
        defaultDate     : '${defaultDate}', 
        fromDate        : '${fromDate}', 
        toDate          : '${toDate}', 
        nonBlank        : ${nonBlank}
        valHandler      : ${valHandler},
        valErrorHandler : ${valErrorHandler}
      " 
  />

 

${fieldName}

The name of the ProcessField

${value}

The initial value of the field

${valueFormat}

The format of the initial value. See Date Formatting.

${displayFormat}

The representation and the edit format of the date value. See Date Formatting.

${submitFormat}

The format of the value to submit. See Date Formatting.

${defaultDate}

If initial value is not provided with mo:value attribute the value defined with this property is used.

${fromDate}

The minimum date to be entered

${toDate}

The maximum date to be entered

${nonBlank}

If "true" then the field cannot be left blank

${valHandler}

The name of the validation handler function

${valErrorHandler}

The name of the validation error handler function.