Skip to Content

Adobe form hide text field in flowed subform

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,



pic1.png (21.1 kB)
pic2.png (10.1 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Oct 11, 2019 at 09:35 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 15, 2019 at 03:44 PM

    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



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.