Credit Card exp. dropdown
What is the proper way to configure dropdown lists for users to select the expiration month and year? I tried changing the text fields to dropdowns but its not passing it to the confirm page.
Thanks,
Tim
What is the proper way to configure dropdown lists for users to select the expiration month and year? I tried changing the text fields to dropdowns but its not passing it to the confirm page.
Thanks,
Tim
On your check out page, you can change your input field to select list by changing this line:
<input type="text" name="exp_month" id="exp_month" value="" /> to
something like this:
<select name="exp_month" id="exp_month" >
<option value="2000">2000</option>
<option value="2010">2010</option>
</select>
make sure the name and the id stays the same so you don't have to make any updates on the confirm page.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.