on 09-19-2019 2:19 PM
Hi All,
I am relatively new to adobe forms and i am currently working on a production/ shop floor printed form, which display characteristics from a sales order. My problem appears to be a common issue asked by many on google, however having tried all the solutions suggested on the community i am still unable to fix the issue. I am using text fields allowing multiple lines in a flowed sub form. each text field is contained within an individual sub form. If a text field in not populated by the print program i would like to hide the text field and condense the blank space.
I have tried using javascript if(this.rawValue == null){ this.presence = "hidden";} on a number of events such as form:ready or initialized, i have tried also to use the formcalc equivalent, But this did not work either. I am not sure if i am just missing something obvious.
Any help is much appreciated,
Thanks
Chris
Are your windows on a masterpage or in a content area on a normal design page?
I made the experience that hiding text fields on the masterpage via scripting is not possible. Try using subforms and conditions in the context instead or check if you can move the subform to a normal design page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rebekka,
Yes you are correct i was trying to script on the master page, most of the content of my form is static and needs to be on the master page. However i have created a content are on the design page with three flowed sub forms. using if (this.rawValue == null){ this.presence = "hidden"; } on each text field i want to hide now hides as expected and the fields bunch together.
Thank you for your reply
Regards
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
8 | |
8 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.