Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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