In your Traditional Web app, you can set the value of an input depending on the value set in another input.
For example, a form can include two date inputs ("From" and "To") and the "To" date can automatically change to one day after the "From" date.
Both "From" and "To" dates are set using Input widgets (assigned to Variables
TestDate.To) associated with Input Calendar RichWidgets.
To dynamically set the "To" date to one day after the "From" date follow these steps:
Enclose the "To" Input widget and Input Calendar RichWidget in a Container and name it
Set the On Change>Destination property of the "From" date Input widget to a newly created Action, in this case
Add an Assign node to the UpdateToDate action with the assignment
This assignment updates the "To" date and defines it as the "From" date plus one day.
After the Assign node, in the UpdateToDate action, add an Ajax Refresh and set its Widget property to
The Screen Action should look similar to the following image:
After these steps the "To" date changes to one day after the "From" date every time the end user modifies the "From" date.