Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!

Help!

Avatar

Level 1

I am trying to create a fill able PDF form for admissions. I am having trouble auto populating text from a drop down list of programs to calculate the cost. I have used the following javascript:

//clear city field

if (this.getField("number").value == " ")

event.value = "";

if (this.getField("program").value == "50.00")

event.value = "Cosmetology";

if (this.getField("Program").value == "50.00")

event.value = "Barbering";

if (this.getField("program").value == "100.00")

event.value = "Esthetics";

But I am unable to figure out how to also be able to manually enter costs as well. Can this be done along with auto populate?

0 Replies