on 06-01-2009 6:03 PM
Hi,
I am working with an interactive form.
After Userinputs a InputField1 it should populate Inputfield2 dynamically.
Lets Say if I enter a 01/01/2009 in input field1, second input field should be a week after date 01/07/2009.
How do we handle this ?
rgds
Vara
Hi,
Select the InputField1 and goto Script Editor and select the Event type: "Change" and Language as "FormCalc" and in editor write the below code:
InputField2.rawValue = Num2Date(IsoDate2Num($.rawValue)+7,"DD/MM/YYYY")
Based on your requirement change the display pattern of both the date fields in the object pallette.
Note: Make both the fields as Date/Time Fields and not TextFields.
Regards
Pradeep Goli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.