Hi Paul,
Here is an example of what I'm using now.
if(xfa.event.newText == "Animal Dander"){
tax.rawValue = ad.value;
}else if(xfa.event.newText == "Tobacco Smoke"){
tax.rawValue = ts.value;
}else if(xfa.event.newText == "Dust/Mold/Cockroach"){
tax.rawValue = dmc.value;
}else if(xfa.event.newText == "Pollen, Cold, Weather change"){
tax.rawValue = pcwc.value;
}else if(xfa.event.newText == "Infection (cold, pneumonia)"){
tax.rawValue = icp.value;
}else if(xfa.event.newText == "Gastroesophageal Reflux"){
tax.rawValue = gr.value;
}else if(xfa.event.newText == "Stress/High emotions"){
tax.rawValue = she.value;
}else if(xfa.event.newText == "Exercise"){
tax.rawValue = e.value;
}else if(xfa.event.newText == "Air Pollutant"){
tax.rawValue = ap.value;
}else if(xfa.event.newText == "Medicines"){
tax.rawValue = m.value;
}else if(xfa.event.newText == "Foods"){
tax.rawValue = f.value;
}
When I choose any of these options in (eg, Foods, i get f value). I choose a 2nd option and it replaces the first option (Foods).
I wanted to keep the value of the first option and choose other options to populate in the same text box without replacing the other
Thank you for your initial response.
Arnold Love