If statement only populates 6 of 7 fields??


can tell me might wrong code
when user picks name in dropdown have..this code poulates associated textfields. works fine except phone field. nothing ever populates field. other fields populated expected
any appreciated

if (xfa.event.newtext == "xxxxxxxx")
city = "mississauga"
prov = "on"
pc = "l5l 5z9"
phone = "xxxxxx7328"
cell = "xxxxxx3379"
fax = "xxxxxx8218"
email = "xxxx@xxxx.com"
elseif (xfa.event.newtext == "xxxxxxxx")
city = "delaware"
prov = "on"
pc = "n0l 1e0"
phone = "xxxxxx7359"
cell = "xxxxxx1770"
fax = "xxxxxx2707"
email = "xxxx@xxxxx.com"
elseif (xfa.event.newtext == "xxxxxxxx")
city = "thamesford"
prov = "on"
pc = "n0m 2m0"
phone = "xxxxxx7359"
cell = "xxxxxx1770"
fax = "xxxxxx8261"
email = "xxxx@cxxxxx.com"



More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments