cancel
Showing results for 
Search instead for 
Did you mean: 

How to set condition to display page

Former Member
0 Kudos

In adobe form ,I want to display page only if term konda=02

can anone guid me the steps needed for the result

thank's

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thank you .

Former Member
0 Kudos

FormCalc Script :-

Write following formCalc script in form:ready event for the root node in the Heirarchy Palette:

if ($record.konda.rawValue == 02)

then

bodypage.presence = "visible"

else

bodypage.presence = "invisible"

endif

Former Member
0 Kudos

Hi Shaul,

To display the Body Page based on the condition then we must write the code in the FormCalc or JavaScript under the event :initialization or Form Ready or Layout Ready event for the Root Node in the Heirarchy Palette of the Layout Designer.

For Example:

Consider JavaScript under the Initialization event for root node "Data"

if (konda.rawValue == "02")

{

bodypage.presence = "visible";

}

else

{

bodypage.presence = "hidden";

}

Regards

Pradeep Goli