Expand my Community achievements bar.

Script error

Avatar

Former Community Member

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

Former Community Member

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

Former Community Member

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

Former Community Member

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

Avatar

Former Community Member

This doesn't make too much sense:

    Page3.presence = "hidden";

    Page3.Signature.presence = "visible";

Avatar

Former Community Member

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

Thanks

Avatar

Former Community Member

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

paul