Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Script error

Avatar

Not applicable

Hi, can anyone just cast an eye over this script to see why the pages aren't appearing as I cannot see why it shouldn't work.

form1.DropDownList161::exit - (JavaScript, client)

if (this.rawValue=="Transfer"){

    Page1.presence = "visible";

    Page2.presence = "visible";

    Page3.presence = "hidden";

    Page3.Signature.presence = "visible";

}

if (this.rawValue=="Closing"){

    Page1.presence = "visible";

    Page2.presence = "hidden";

    Page3.presence = "visible";

    Page3.Signature.presence = "visible";

}  

Thanks

Steve

7 Replies

Avatar

Level 10

Did you save the form as a dynamic PDF?

Paul

Avatar

Not applicable

Hi Paul

Yes the form is saved as Dynamic so can't understand why it won't work as it is only subforms that is should open or hide.

Thanks

Steve

Avatar

Level 10

Are you getting any errors in the Javascirpt console? Render the form and hit Ctrl_J in acrobat to bring up the console.

paul

Avatar

Not applicable

I get no errors, if you let me have your email address I will send you the form if that would help

Avatar

Level 4
Level 4

This doesn't make too much sense:

    Page3.presence = "hidden";

    Page3.Signature.presence = "visible";

Avatar

Not applicable

There is another subform within Page 3. Still doesn't account for why the pages are displayed or not.

Thanks

Avatar

Level 10

Send it to LiveCycle8@gmail.com ....include a description of the issue with the email.

paul