I figure I need to use javascript for this. I want to get the value of a form field as soon as text is entered.
I tried using onChange=\"this.form.submit()\" in the <input> of the field. My form name is ChronoContact_ItemRegistration. My field name is promo
I want to assign the value of the field to a variable. Then I am going to use an if then else if else statement to assign value of another form field depending on what it entered in promo.
I am assigning the value of paypal's amount field depending on what is entered in the promo field.
How do get the value of the promo field into a variable before I submit my form.
Thanks in advance for your help.
Joel
I tried using onChange=\"this.form.submit()\" in the <input> of the field. My form name is ChronoContact_ItemRegistration. My field name is promo
I want to assign the value of the field to a variable. Then I am going to use an if then else if else statement to assign value of another form field depending on what it entered in promo.
I am assigning the value of paypal's amount field depending on what is entered in the promo field.
How do get the value of the promo field into a variable before I submit my form.
Thanks in advance for your help.
Joel