Hi experts,
I am new to adobe form. I want to display, if i enter 1234 ,it will be displayed 12.34 .Can you please suggest me?
Thnaks.
Hans
Request clarification before answering.
Hi Hans Bauer,
Do the following:
1. Take the field as Numeric Field or Decimal field from Library.
2. Select the field from Hierarchy.
3. Go to menu> windows> Script Editor.
4. Choose Exit event in the script editor.
5. now write the following code in the exit event of the numeric field/decimal field.
$.rawValue = $.rawValue/100Thats all what you have to do.
Hope it will solve your problem.
Regards,
Vaibhav Tiwari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hans,
If you want to display time in that field then use date and time field instead of decimal/numeric field and make following configurations:
1. Select the Date and time field and go to Object palette.
2. In the field tab of object palette set display pattern and edit pattern as "HH:MM".
3. Select value tab in the object palette and set validate pattern to "HH:MM".
4. Now below the validate pattern there is textbox validate pattern message. Put there the message you want to display.
Hope this will work. If there is any restriction to use decimal field only then do tell me.
Regards,
Vaibhav Tiwari.
Hi,
Do you want to add their values or want to add them on the form.
if you want to add their values then just write the follwing script at the event where you want assigning this value to the field you want :
Num2Time( (Time2Num(DateTimeField1.rawValue) + Time2Num(DateTimeField2.rawValue)) , "HH:MM:SS")Regards,
Vaibhav Tiwari.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.