on 07-14-2009 1:16 PM
Hi All,
Can anybody help how to how to hide/show attributes in adobe interactive forms?
The scenario is like this:
In data view there are 2 attributes a1,a2. Currently i am showing both the attributes in the form. But only that attribute will be shown which will contain data, other will remain invisible. how to do it?
Thanks in advance,
tubai123
hi,
you can go for FormCalc Script in Script Editor.
In the initialise event of both the fields , write this Script :
if (HasValue($)) then
$.presence = "Visible"
else
$.presence = "Hidden"
endif
This will hide your fields with no data.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can apply the following script in the scipt editor
Select initialize event from the drop down box
if ($.isNull) then
$.presence = "hidden"
endif
in adobe forms. It will hide the Contents.
Thanks,
Krishna
Edited by: thandava Krishna pittala on Oct 12, 2009 6:22 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should ask this question in the Adobe Forms forum since this work has to be done within the form using JavaScript/FormScript. On the other hand, you should consider if such a dynamic requirement is really a good fit for interactive forms. Changing the layout of the form in script can invalidate a signature and is generally not recommended because of the scripting complexity involved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.