PayPal Drop Down Button Breaks after HTML edit
-
Upon adding my custom PayPal button code (4 choice drop down), to my WP site post, if I make any HTML code edits, the drop down button breaks and becomes just 4 choices. These post edits are totally unrelated to the button form, they could be as simple as correcting a typo within the text. I cannot figure out how/why this is happening.
Here is the before and after code. Any help would be appreciated.Original Code (before)
<form action=”https://www.paypal.com/cgi-bin/webscr” method=”post” target=”_top”>
<input type=”hidden” name=”cmd” value=”_s-xclick”>
<input type=”hidden” name=”hosted_button_id” value=”3VW8JXC433UDY”>
<table>
<tr><td><input type=”hidden” name=”on0″ value=”Tourney Entry Options”>Tourney Entry Options</td></tr><tr><td><select name=”os0″>
<option value=”Entry Fee Only”>Entry Fee Only $26.00 USD</option>
<option value=”Entry & Gross Skins”>Entry & Gross Skins $36.00 USD</option>
<option value=”Entry & Net Skins”>Entry & Net Skins $36.00 USD</option>
<option value=”Entry & Both Skins”>Entry & Both Skins $47.00 USD</option>
</select> </td></tr>
</table>
<input type=”hidden” name=”currency_code” value=”USD”>
<input type=”image” src=”http://cypresslakesgolfclub.org/wp-content/uploads/2014/04/CLGC-Pay.png” border=”0″ name=”submit” alt=”PayPal – The safer, easier way to pay online!”>
<img alt=”” border=”0″ src=”https://www.paypalobjects.com/en_US/i/scr/pixel.gif” width=”1″ height=”1″>
</form>Post Edit Code (after)
<form action=”https://www.paypal.com/cgi-bin/webscr” method=”post” target=”_top”><input name=”cmd” type=”hidden” value=”_s-xclick” />
<input name=”hosted_button_id” type=”hidden” value=”3VW8JXC433UDY” />
<table>
<tbody>
<tr>
<td><input name=”on0″ type=”hidden” value=”Tourney Entry Options” />Tourney Entry Options</td>
</tr>
<tr>
<td><select name=”os0″><option value=”Entry Fee Only”>Entry Fee Only $26.00 USD</option></select>
<select name=”os0″><option value=”Entry & Gross Skins”>Entry & Gross Skins $36.00 USD</option></select>
<select name=”os0″><option value=”Entry & Net Skins”>Entry & Net Skins $36.00 USD</option></select>
<select name=”os0″><option value=”Entry & Both Skins”>Entry & Both Skins $47.00 USD</option></select></td>
</tr>
</tbody>
</table>
<input name=”currency_code” type=”hidden” value=”USD” />
<input alt=”PayPal – The safer, easier way to pay online!” name=”submit” src=”http://cypresslakesgolfclub.org/wp-content/uploads/2014/04/CLGC-Pay.png” type=”image” />
<img src=”https://www.paypalobjects.com/en_US/i/scr/pixel.gif” alt=”” width=”1″ height=”1″ border=”0″ /></form>
- The topic ‘PayPal Drop Down Button Breaks after HTML edit’ is closed to new replies.