Skip to Content
avatar image
Former Member

Hide Master page

Hi All

Please help me to solve this problem.I have a requirement where I need to have header/Footer to be printed depending on the

value from a variable.For some pages we have a footer for some we don't.When we don't have a footer for the page I want to

increase the height of the Master page.(Exactly like word document without footer on page).But I couldn't do this using

masterpage.h property even though I hide the footer.So I thought of creating a second Master page content area (with out

footer ) and want to switch between 1st content area and second content area depending on the footer requirement.But I don't know how to switch the content area dynamically using javascript.Please help me.

Am I going in the right track?Do we have any alternative ways to acheive it?Please let me know.

Thank you.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Aug 11, 2010 at 03:03 AM

    Hi giri,

    I would suggest use header and footer in every page instead of using in master page,

    use form calc and


    yourfield.$.rawvalue = <expected> and if Control.param.ISR_REVIEW = "X"


    Footer.presence = "Invisible" or "Hidden" (based on the requirement)


    You could do this either in Form Ready event or Print Form Event.

    Add comment
    10|10000 characters needed characters exceeded