Avatar

Correct answer by
Level 2

To make this work I inserted a script object and named it "Signers"  then inserted the below function.

LP.#variables[0].Signers - (JavaScript, client)

Then on the actual dropdown field I added a change event where I called the function using the below syntax;

LP.Pg1.Pg1Ft.cboSigner::change - (JavaScript, client)

 var vCallEvent = "Field cboSigner::change ";
Signers.fShowSign(vCallEvent)

Then on the FORM I added a ready event where I called the function using the below syntax;

LP::ready:form - (JavaScript, client)

 var vCallEvent = "FORM ::ready:form ";
Signers.fShowSign(vCallEvent)

Hope this helps others who want to use a dynamic form layout based on field dropdown values.

View solution in original post