Returns the value of a Date field as a date string (for example, 05/05/2025).
Specifies the unique identifier of a Date field.
Date value as a string.
var LastDay =ca_pam_getDateFieldValue('Form.TripEndDate');
ca_pam_setDateFieldMaxValue('Form.DateDeparture',LastDay);
The first line of this example gets the TripEndDate (for example, 05/15/2014) and stores it in the LastDay variable.
The second line of this example sets the Maximum Value of the DateDeparture field to the value of the LastDay variable.
|
Copyright © 2014 CA.
All rights reserved.
|
|