I am creating a pledge form where users have the option to choose
Payroll Deduction
Check
Credit Card etc.
All of these options are located in a drop down list and have the pertinent subforms either visible or hidden based on the user's selection ie
form1.P1.PledgeType::change - (JavaScript, client)
if (this.rawValue == 0)
{PayRoll.presence="visible"
OneTimePayRoll.presence="hidden"
CCInfo.presence="hidden"
CheckInfo.presence="hidden"
Bill.presence="hidden"
NoDon.presence="hidden"
Desig.presence="visible";}
else if (this.rawValue == 1)
{PayRoll.presence="hidden"
OneTimePayRoll.presence="visible"
CCInfo.presence="hidden"
CheckInfo.presence="hidden"
Bill.presence="hidden"
NoDon.presence="hidden"
Desig.presence="visible";}
AND SO ON...
This concept works... however the display is always one behind... I have to essentially choose everything twice in order for the correct subform to be displayed... Any thoughts?
for this purpose you better use the pseudo event modell.
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs