Skip to Content
avatar image
Former Member

Hide/ Delete of the MASTER Page in adobe forms

HI Friends,

i am a new of the Adobe Forms. My adobe form has the 5 pages, at the time of execution. i am gettin the 4 page is blank and it is master page.

Execution time, i am getting the frist 3 pages with data and 5th page also except the 4th Page, the 4th page it's always display the Empty, please suggest me how to delete/Hide the master page at the time of form display.

Can you please help me for this case.

Thanks & Regards,

kirankumar P

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jan 21, 2013 at 08:56 PM

    You can hide the master page depending on any condition you have. But there is one clean rule. If your master page doesn't want to get printed then content area of that master page should not contain any data. It means even if you hide all the data in the content area, your whole master page ( including its instances i.e overflown pages) will be hidden.

    For that you have to create a text field in your layout and drag and drop it in the content area of the master page which you want to hide. The text field acts like a flag whether or not to hide the master page. If 'X' then hide. Else do not hide. The value of the flag field will be decided while coding in the interface itself based on your condition. Then wrap the data of the content area including your flag field in a sub form. Do not forget to hide the flag field after wrapping it in the sub form because you don't want to show this on the page if that page is displayed by any chance.

    Finally click on the whole wrapped sub form. Write below Form calc script in events Initialization, Form Ready and Layout Ready.

    Here the HIDEPAGE_FLAG is nothing but your flag field.

    if ( $.HIDEPAGE_FLAG == "X" ) then

    $.presence = "hidden"

    endif

    This code hides your whole sub form . It means there will be no data shown in the content area and the Adobe framework doesn't print that specific master page(and all its instances). :-)


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Srinivas,

      "Error:accessor '$.GV_GLAG.rawVaue' is unknown"

      "$.GV_GLAG.rawVaue'" should be GV_FLAG and not GV_GLAG as per your declarations.

      and correct it to GV_FLAG.rawVaue and not GV_FLAG.rawvalue

      Regards,

      Chaitanya

  • Aug 20, 2014 at 10:22 AM

    Hi,

    There is no point in deleting for hiding the master page, as master page is nothing but like a letter head which is used to print the content.

    Master page shall only be used if your data is overflowing to next page. So just check your body page design instead.. if data on body page is following then why it is not printing on next page.

    Thanks,

    Nitin Sikka

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 23, 2014 at 11:28 AM

    Hi All,

    I have tried by hiding the master page by initializing the Context area, have also wrote the Java script to hide the same in both master page and Content area, but now the conent area is hided but still the master page is printed with Logo and Date fields. Please guide me on this :-)

    Add comment
    10|10000 characters needed characters exceeded

    • if the page is coming blank then your content area that is body page is not having any content. Check the binding option for elements placed on body page.

      If it is printing on 1st page and 2nd page onwards it is coming as blank then check the body page (sub-form) should be flowing not positioned. If it is positioned then it will not flow to 2nd page.

      Thanks,

      Nitin Sikka