SaW
Member
- Mar 3, 2018
- 101
- 15
So after searching for answer on google ive decided to ask here:
I want my account settings in CMS to be chosen using a dropdown instead of having a textinput, but i don't know how to set this up as I've got no knowledge on the matter.
Outputs this:
But how can i make so that opt1 sets {acc_trade} to 0 while opt2 sets it to 1?
Hope i've explained myself correctly and any help will be very appreciated, thx.
I want my account settings in CMS to be chosen using a dropdown instead of having a textinput, but i don't know how to set this up as I've got no knowledge on the matter.
Code:
<p><label>Setting:<select>
<option value="{acc_trade}">Enable Trading</option>
<option value="{acc_trade}">Disable Trading</option>
</select></label></p>
<p><label>Setting:<input type="text" name="acc_trade" size="32" maxlength="32" value="{acc_trade}" id="avatarmotto"></label></p>
Outputs this:
You must be registered for see images attach
But how can i make so that opt1 sets {acc_trade} to 0 while opt2 sets it to 1?
Hope i've explained myself correctly and any help will be very appreciated, thx.