This is an old revision of the document!

Table of Contents


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.


A drop-down can be added to any field in the form. It is always important to have it assigned correctly so that the information will be transferred over correctly into the transaction details.


  • First step should be to decide where you want to place the drop down menu in your form. In this example we will be using the amount field also known as UMamount within the form. You can look up all the fields under the payment form documentation. EpaymentForm
  • Find the field and the row attached to it within the form. Here is an example of what the UMamount row with the field looks like:
		<td bgcolor="#F0F0F0" width="234" align="right"><font size="2" face="Verdana">Order Amount:</font></td>
		<td bgcolor="#F0F0F0" width="450">[UMamount]
  • Select the above code from the form starting from <tr> to </tr> and replace it with THIS HTML code :
                    <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>
  • The example shows how 2 options would look. You can add as many options as you need. All you will have to do is repeat this cell <option value=“”>………</option>. You can change the wording of the first option value to whatever you want the drop down to list, the example used here is “select one”
  • The value goes in between the quotations and what your customers will see goes between the angle brackets (> <)
  • If you want to add a drop down menu and have the result that the customers choose be a custom field in the transaction details you would utilize UMcustom1. ( For this example that meant UMamount would of been replaced with UMcustom1 and “Amount” would be titled with your custom name. )
merchant/epaymentform/dropdown.1350947194.txt.gz · Last modified: 2012/10/22 16:06 by kat

Page Tools