on 07-19-2012 7:46 AM
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.
Try using JavaScript on the initialize event of the page (subform):
if( IN_T_C.rawValue == null)
{
this.presence = "visible";
{
else
{
this.presence = "hidden";
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.