Form field javascript
Hi, I am very rookie with Java and need a form field to check a condition then return a value, my code looks like this:
OnFocus:
event.value = this.getfield("R_15b").value;
if(event.value < 13){
Event.value = this.getfield("R_18")}
else{event.value = 0}
R_18 is a calculated field and R_15b is an input field both preceding the event however when I tab to the field it seems to pause and run the script but the field does not populate.
Please can someone assist in pointing out my error ![]()
Regards
