468,514 Members | 1,498 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,514 developers. It's quick & easy.

Text Input Value = Multiple Variables & Pass to Hidden Input


Is it possible on a single page to make a "text input" value equal to multiple variables, then the variable will be the value of the a hidden input. For example...

This is the start text input:

<input type="text" name="promo_code" size="10" maxlength="9">

These are the variables:

blank/default = 250
FCTR = 900
EBR = 199
FPO = 125
COMP = 0

This is the hidden input where promo_code = amount:

<input type="hidden" name="amount" value="199">

Can anyone help me?
Nov 22 '11 #1
1 2028
12,513 Expert Mod 8TB
I don't know what you're trying to do.
Nov 22 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Mark Hannon | last post: by
2 posts views Thread by mouac01 | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.