I am using a dropdown list with 4 options using Javascript and a textbox to put the customer name (shipping, payer, billing, sold to) depending on which one is selected from dropdown. I then put the customer information into my email submit button.
CurrentValue.rawValue = xfa.event.newText;
if (SelectNewChangeDropdown.value == 4) {
CustomerForEmail.rawValue = "testing1111"
}else {
CustomerForEmail.rawValue = "testing"
}
When I test this (all done on the change event for the drop down list) the CurrentValue textbox tells me what is being tested. Now it only runs "else" code and always brings in "testing", never "testing1111".
This is so strange to me, why it won't work.
Is it possible to send the form so you can take a quick look?
Vee