Javascript Help
Hi Guys,
Hope you can help. I have a drop down box (Dropdown21) which has multiple employment options in there. Employed, Self Employed, Retired and House Person. I am using a button to run a Javascript, the idea being that if you select Houseperson in the dropdown box it will populate another field (C2_House_Person) with the value 15000. If you select anything else then it will be 0. So far I have the following:-
var v1 = (this.getField("Dropdown21").valueAsString);
if (this.getField("Dropdown21").value=="a House Person") event.value = "15000";
this.getField("C2_House_Person").value = v1
