Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Account Settings using <select>
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="SaW" data-source="post: 431664" data-attributes="member: 79884"><p>So after searching for answer on google ive decided to ask here:</p><p></p><p>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.</p><p>[CODE]<p><label>Setting:<select></p><p> <option value="{acc_trade}">Enable Trading</option></p><p> <option value="{acc_trade}">Disable Trading</option></p><p></select></label></p></p><p></p><p> <p><label>Setting:<input type="text" name="acc_trade" size="32" maxlength="32" value="{acc_trade}" id="avatarmotto"></label></p>[/CODE]</p><p></p><p>Outputs this:</p><p>[ATTACH=full]6984[/ATTACH]</p><p>But how can i make so that opt1 sets {acc_trade} to 0 while opt2 sets it to 1?</p><p></p><p>Hope i've explained myself correctly and any help will be very appreciated, thx.</p></blockquote><p></p>
[QUOTE="SaW, post: 431664, member: 79884"] 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. [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>[/CODE] Outputs this: [ATTACH=full]6984[/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. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Account Settings using <select>
Top