Hello,
How can I hide options if your account doesn't have access to this type of voucher?
For example, I want to hide "change gender" and "change name" until the player buy in store the voucher needed to use these features.
When he buys a voucher, then the option to change sex will appear.. or change name.
the options is in myaccount.php:
Thank you for your help in advance!
How can I hide options if your account doesn't have access to this type of voucher?
For example, I want to hide "change gender" and "change name" until the player buy in store the voucher needed to use these features.
When he buys a voucher, then the option to change sex will appear.. or change name.
the options is in myaccount.php:
PHP:
<select id="action" name="action" class="form-control" onChange="changedOption(this)">
<option value="none" selected>Select action</option>
<option value="toggle_hide">Toggle hide</option>
<option value="change_comment">Change comment</option>
<option value="change_gender">Change gender</option>
<option value="change_name">Change name</option>
<option value="delete_character" class="needconfirmation">Delete character</option>
</select>
Thank you for your help in advance!