Hi All,
Is there a way to control the value output of a select list in the EE member module?
Quick question regarding the custom member Module fields, I am trying to hook this up with Cartthrob/WorldPay. My client would like the user to create an account via the member module field, allowing them to pre-fill in info such as address, billing address etc, so when they come to purchase, it’s a nice, quick, easy experience.
In order to do this, I need to create a country select list in the member module, and hook this up to the select list provided by the WorldPay payment gateway fields.
To do this, I need the values to be the same, but the issue I am having is, the value fields are automatically generated in the member module.
From WorldPay, the code for the country select list is as follows:
<select name=“country_code” id=“country_code” class=“required”>
<option value=“AFG”>Afghanistan</option>
<option value=“ALA”>Åland Is.</option>
<option value=“ALB”>Albania</option>
<option value=“DZA”>Algeria</option>
<option value=“ASM”>American Samoa</option>
...etc
I can’t replicate the above list because the ExpressionEngine select list option only allows you to specify the option, the value is automatically assigned..
Is there a way to control the value output of a select list in the EE member module?
Many thanks
Simon