Drop-Down Menu

Parent Previous Next

Drop-Down

This example code shows how to add a basic drop-down menu (list) to the Epayment form and how to assign it to specific fields depending on the placement of the drop-down. It assumes no other changes have been made to the payment form.

Overview

A drop-down can be added to any field in the form. It is important to always assign the drop-down menu to specific fields so that the transaction details will be transferred to the correct field.

HTML

             <tr>

               <td bgcolor="#F0F0F0" width="234" align="right"><font size="2" face="Verdana">Order Amount:</font></td>

               <td bgcolor="#F0F0F0" width="450">[UMamount]

               </td>

       </tr>

             <tr>                        

                   <td bgcolor="#F0F0F0" width="234" align="right"><font size="2" face="Verdana"> Amount:</font></td>

               <td bgcolor="#F0F0F0"  width="450"><select name="UMamount">

                     <option value="none">Select One</option>

                     <option value="50.00">$50</option>

                     <option value="100.00">$100</option>

               </select>

               </td>

             </tr>        

: