Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list



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