on 10-21-2008 9:41 AM
Hi
How to add time field in the form (same as that of date field).
When I'm selecting "Time" in pattern then dialog box is not getting displayed!
Regards.
Nikhil,
Follow these steps to get time and date in same field.
1. Drag-drop Date/Time Field from Standard library onto your subform.
2. Write the following code in exit event of the Date/Time field. Keep the language as FormCalc.
$.rawValue = Concat(Num2Date(Date2Num(DateTimeField1.formattedValue)), " ", Num2Time(Time(), "HH:MM:SS"))
PS: DateTimeField1 is name of my field.
Chintan
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 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.