I want to stop users being able to choose the price they pay on the drop-down menu before paying with Paypal - the JavaScript code I have will select the price based on country chosen on the form.
However whenever I add disabled="disabled" to either the select element, or the options, this generates an error with Paypal.
Does anyone know a way around it?
<select name="os0" disabled="disabled">
<option value="Testing">Testing £0.10 GBP</option>
<option value="UK">UK £10.00 GBP</option>
<option value="European Union">European Union £20.00 GBP</option>
<option value="Rest Of The World">Rest Of The World £30.00 GBP</option>
</select> </td></tr>
</table>
<input type="hidden" name="currency_code" value="GBP">
<input type="image" id="paypalbutton" src="https://www.paypalobjects.com/en_US/i/btn/x-click-but6.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
You can test it on http://ineedaweatherforecast.co.uk using the Buy Now button at the top.
Thanks James