Avatar

Level 4

OK. I'm following your idea. I'm experimenting with the dropdown list, using these list items:

Maternity (attach doctor's certification*)  - complete sections #3 and #4

Medical/Disability (attach doctor's certification*)

Worker's Compensation Disability (attach doctor's certification*)

Family Leave: (complete section #4)

Military Leave (attach copy of orders)

Personal Leave (duration of leave may not exceed 8 weeks)

Under the Binding tab, these have the values 1-6. So I edited your script to this.

if (xfa.event.rawData == 4){
    FamilySubform.presence = "visible"
} else {
    FamilySubform.presence = "hidden"
}

But it doesn't work. The problem must be (xfa.event.rawData == 4). There's probably another term for rawData when you use a number. What would that look like?