Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Populating "Floating Fields" from a drop down list

$
0
0
I'm not sure if this is possible but here's what I have:
----- form1.#subform[0].DropDownList1::change: - (JavaScript, client) ------------------------------

var sNewSel = this.boundItem(xfa.event.newText); switch (sNewSel)
{
case "1": // Group Health Plan
FloatField1.rawValue = "inserttext\n";
form1.#subform[2].FloatField2.rawValue = "insertother text\n";
form1.#subform[2].FloatField3.rawValue = "insertothertext\n";
form1.#subform[2].FloatField4.rawValue = "insertothertext";
form1.#subform[2].FloatField5.rawValue = "insertothertext\n";
form1.#subform[2].FloatField6.rawValue = "insertothertext\n";
form1.#subform[2].FloatField7.rawValue = "insertothertext\n";
form1.#subform[2].FloatField8.rawValue = "insertothertext\n";
form1.#subform[3].FloatField9.rawValue = "insertothertext\n";
form1.#subform[3].FloatField10.rawValue = "insertothertext\n";
break;
case "2": // Group Dental Plan
TextField20.rawValue = " "
break; default: // unknown value -- do nothing
break;
}

All the insert other texts are replacing actual sensitive information. I am trying to get these to show once the "Group Health Plan" drop down is selected, but it's not doing it. Do you have any suggestions? Is it because they are floating fields??

Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>