

For example, you can add form rules that will show or hide certain form controls or entire sections based on the state of other form controls. Typical uses of form rules include:Īdding dynamic behavior to a web form, including showing or hiding elements or enabling or displaying elements. Please try again with a smaller file.You can use form rules to define the behavior of a web form. Delete Remove No selected version Reset This field is required You are already subscribed to this topic Attach screenshot The file you uploaded exceeds the allowed file size of 20MB. Release notes and upgrades Click to open the dropdown menu. Explore products Click to go to the page. The available release versions for this topic are listed There is no specific version for this documentation. You were redirected to a related topic instead. The topic you requested does not exist in the release. Please try again or submit your comments. You have been unsubscribed from this content Thank you for your feedback. You are now subscribed to and will receive notifications if any changes are made to this page. You have been unsubscribed from all topics. Subscribe Subscribed Unsubscribe Last updated: Tags: January February March April May June July August September October November December No Results Found Versions Search preferences successfully updated My release version successfully updated My release version successfully deleted An error has occurred. tError(userAlert + ' start must be before end') Įlse if ((prevStartDate) != (startDate)) Parse XML payloads

Gs.addInfoMessage(userAlert + ' start must be before end') Iterate through all start and end date / time fields Add the product of future days to get value in miliseconds Subtract the product of previous days to get value in milliseconds You shouldn't have to modify anything below this line Set the number of Future Days you want to check

Set the number of Previous Days you want to check Var userAlert = new Array('Planned','Work') The text string below is added to the front of ' start must be before end' Var prevEndDate = new Array(previous.end_date,previous.work_end)

Var endDate = new Array(current.end_date,current.work_end) Var prevStartDate = new Array(previous.start_date,previous.work_start) Var startDate = new Array(current.start_date,current.work_start) Make sure that you keep the placement in the sequence the same for all pairs Enter all start and end date fields you wish to check, as well as the previous values To be within a certain range, in this case, no fewer than 30 days in the past and no more thanįuture. Additionally, this script requires the input dates If you have more than one pair of startĪnd end dates, you can use arrays as shown. Here is a more complex example of the above comparison.
