on 10-23-2009 9:16 PM
Hi All,
Here's the scenario where am facing the issue.
- A field in table of a PDF form, which reads data from an external system (XML Data) and displays as it is.
- The field may contain numbers of Year or a Date in few cases.
Now I need to display the field as number if its a number and year if its a year (or date if a date). Help me how the following functionality can be achieved:
- To display in Date format if Date
- To display in Year format in YYYY if a year. Can a type can be read and assigned dynamically. If this can be achieved, then one solution can be placing two input fields on the form and showing the one needed by reading the type
- Number format is currently appearing with leading zeros and two decimal points. A small issue, if standalone, but even need to remove the leading zeros while achieving the dynamic type functionality.
Any inputs greatly appreciated.
Thanks,
SV
Hello,
you need to write some "validation script" which tests the type of the information. Next you will need the subform with few fields - for the same value but with the various types. You determine the type, fill the right field, set presence to "hidden" for all the others and maintain the display pattern for the field which is visible (the right one, like date field and its pattern).
Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.