on 08-15-2016 1:27 AM
Hi Adobe experts,
I have to design adobe form with some static text and fields which is to be displayed on all the pages and also have a table which will flow form page to page.
I wanted to go with the approach of table header and table rows with sub form concept.
Below is my design
Attached/below are the proprieties of the each Sub form. The issue is that my Sub form 1(with static text/fields) does not appear on Page 2 and onwards.
Can someone tell what the issue ?
Hi Govind,
If you want the static text in subform 1 to display on all pages, why don't you just put it in the master page?
Julie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Julie,
I can do that also , some text on Subform1 has to be hidden based on one field.
Taking your approach : I tried to hide one text(Text1) in Subform1 on the master page, the Text1 gets hidden on 1st page but not on the Page 2 and onwards.
Below is my script on form.ready event:
Master1 - Master Page
txt_fld_bustype is on Master1
Subform1 is on Master1 page
Text1 is text field on Subform1
if(data.pageSet.Master1.txtfld_bustype == "AA") then
data.pageSet.Master1.Subform1.Text1.presence = "hidden";
else data.pageSet.Master1.Subform1.Text1.presence = "visible";
endif.
Not sure if I need to put this under some other event or there is a issue with the script.
Julie,
I am also not a script expert but tried putting the under the Subform Node1 and is working fine. The script did not work when using switch statement(JavaScript) but worked when I used FormCalc IF condition.
One thing I am concerned is that after activating/testing the form I was not able to see the script under the Subform1 and surprisingly the form is working as per the script.
Do you know where this is saved or something to do with my installation ?
Thanks a lot.
Govind
Govind,
I've not had that happen to me, I'm using Adobe Livecycle version 10.4. However, I believe I read something recently on SCN where a user had the same issue. He said that the scripting was still in the XML Source view, but he couldn't see it in the Events Scripting box. He also said that if he added another script, that it was "appended" to the script in the XML Source view.
If your issue is solved, can you please mark the post as Answered?
Julie
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.