MyBB Community Forums
[General] The first item is selected by default field - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: [General] The first item is selected by default field (/thread-162827.html)



The first item is selected by default field - MR.SASHA - 2014-11-15

Hi

My English is not good
I created a custom field
We want every time a user was a member
First option field is selected by default for the user
Without having to go to the Settings page and click the Edit Profile custom field for his first option is selected
Required field can not I use the solution to your normal field

up....

up.......

up////


RE: The first item is selected by default field - Skorm92 - 2014-11-15

You need to try and explain some details,

What do you mean with "We want every time a user was a member..."?
Is the custom field a dropdown box for a user to select an option? Where you would like to have a specific option as default?


RE: The first item is selected by default field - MR.SASHA - 2014-11-16

(2014-11-15, 11:20 PM)Skorm92 Wrote: You need to try and explain some details,

What do you mean with "We want every time a user was a member..."?
Is the custom field a dropdown box for a user to select an option? Where you would like to have a specific option as default?

yes
I want to have a default blank choice for optional custom fields in registration page that can be leaved blank and a default blank item in mandatory fields that users should change it. I added the mentioned code modification in member.php (Using 1.6.8) but it still removes first blank line item and selects first item as default.
would you please explain more

up.......

up...............


RE: The first item is selected by default field - MR.SASHA - 2014-11-17

up.....


RE: The first item is selected by default field - MR.SASHA - 2014-11-19

up.... please help


RE: The first item is selected by default field - MR.SASHA - 2014-11-24

up....


RE: The first item is selected by default field - MR.SASHA - 2014-11-25

up..............