my form is set up to have text appear in a text field once a selection is made from a drop-down list. How do I get the text not appear in the dropdown list field after it is selected
Thanks in advance
Solved! Go to Solution.
Views
Replies
Total Likes
Try something like this after your code in the change event of the drop down
for (var i = 0; i < this.items.nodes.length; i++ )
{
sValue = this.resolveNode("items.#text[" + i + "]").value;
if ( sValue === xfa.event.newText )
{
this.deleteItem( i );
xfa.event.change = "";
break;
}
}
Views
Replies
Total Likes
Try something like this after your code in the change event of the drop down
for (var i = 0; i < this.items.nodes.length; i++ )
{
sValue = this.resolveNode("items.#text[" + i + "]").value;
if ( sValue === xfa.event.newText )
{
this.deleteItem( i );
xfa.event.change = "";
break;
}
}
Views
Replies
Total Likes
Perfect!!!!
Thank you!!!!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies