cancel
Showing results for 
Search instead for 
Did you mean: 

How to display Terms and Conditions in separate page

Former Member
0 Kudos

Hi All,

I am new to Adobe Forms. I am working on a requirement where I have to display the Terms and conditions on a new page if they are maintained else we should not display that page. For this, I have created a new page and added a text field named IN_T_C for Terms and Conditions. Then I have written the below code in the events with scripts.

if ( not hasValue( $.IN_T_C ) ) then

$.presence = "hidden"

endif

But still the terms and conditions are not getting displayed. Please correct me if I am wrong somewhere.

Thanks a lot.

Accepted Solutions (0)

Answers (1)

Answers (1)

chris_scott
Active Participant
0 Kudos

Try using JavaScript on the initialize event of the page (subform):

if( IN_T_C.rawValue == null)

{

   this.presence = "visible";

{

else

{

   this.presence = "hidden";

}