Views
Replies
Total Likes
var sNewSel = this.boundItem(xfa.event.newText);
switch (sNewSel)
{
case "1": // car purchase
TextField1.rawValue = "Basic features:\n- frame\n- wheels\n- glass";
break;
case "2": // other purchase
TextField1.rawValue = "Basic features..."
break;
default: // unknown value -- do nothing
break;
}
Views
Replies
Total Likes
Hello Stefan,
I'm interested in the sample file you've created. Could you post it again? I am also trying to populate textfields which are on different pages than the drop down lists, and have not succeeded. Can you help? Thanks.
thanks.
Nellie
Views
Replies
Total Likes
Stefan
How do I get the PDF you devloped?
I need to see details of populating dropdown.
Can you also "extend" the dropdown to other dependant dropdowns?
--one DD detrmining another DD, which then fills a text field(s)..
-Allan
Views
Replies
Total Likes
Stefan,
I am not very literate in scripting, but am learning as I go, so hopefully this will make sense. I am trying to get the drop down to generate a message in a text field, and if drop down is left blank, no message is shown. I used your example above to get my drop down to generate a text field, but it is not working. My drop down list is named "Security Deposit" and the text field is "Security". Here is what I entered in the script editor using Javascript and Change:
var (sNewSel=this.boundItem(xfa.event.newText);
switch (sNewSel)
{
Security.rawValue
= " A security deposit has been paid to the Community. The deposit shall be applied to any damages done to Clubhouse or Community. If there are no damages, the payment will be returned to the Resident following inspection.";break;
default://unknown value--do nothing
;}
If you could please assist with this, I would really appreciate it!!
Thank you so much!
Views
Replies
Total Likes
I am having difficulties getting this to work properly. I have a list box called [PURCHASE TYPE] and I want the selection to populate a text box.
Purchase Types
36 Month (Basic)
48 Month (Basic)
etc.
when selected I want the text box to read 36 MONTH BASIC, if that is the one they selected from the list. Does that make sense?
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies