MyBB Community Forums
Select Tag on Custom Profile Field? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Select Tag on Custom Profile Field? (/thread-210292.html)



Select Tag on Custom Profile Field? - alv4 - 05-08-2017

Hey, So i'm creating a new project, and I'm playing with custom fields on profile, I  see that there are some field type options like Text Box, Text Area, Radio Buttons, etc...
But there is no option for a simple select (This one: https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select ).

I created 2 custom fields, one of 74 options and another of 13, so, in the edit profile page I have a HUGE list of things. There is any way to show it how I want it?

Thanks Smile


RE: Select Tag on Custom Profile Field? - Ashley1 - 05-08-2017

It might be this one:

usercp_profile_profilefields_select

under user control panel templates


RE: Select Tag on Custom Profile Field? - alv4 - 05-08-2017

(05-08-2017, 01:50 AM)Ashley1 Wrote: It might be this one:

usercp_profile_profilefields_select

under user control panel templates

That's how is showed. But in Select appear a Box, instead of a dropdown menu.


RE: Select Tag on Custom Profile Field? - Ashley1 - 05-08-2017

I don't follow, in ACP there's option to create select, and then you style it with the template above.

Are you saying that you created a select box in ACP but it's not showing as select in the front ?


RE: Select Tag on Custom Profile Field? - alv4 - 05-08-2017

(05-08-2017, 02:21 AM)Ashley1 Wrote: I don't follow, in ACP there's option to create select, and then you style it with the template above.

Are you saying that you created a select box in ACP but it's not showing as select in the front ?

Is showing a Box not a select dropdown.

[Image: mRk5iiI.png]


RE: Select Tag on Custom Profile Field? - Ashley1 - 05-09-2017

(05-08-2017, 04:09 AM)alv4 Wrote:
(05-08-2017, 02:21 AM)Ashley1 Wrote: I don't follow, in ACP there's option to create select, and then you style it with the template above.

Are you saying that you created a select box in ACP but it's not showing as select in the front ?

Is showing a Box not a select dropdown.

[Image: mRk5iiI.png]

Hi

I have had a chance to test this and your error must be in the way you are specifying in the ACP. Choose select box in ACP and not multiple option selection. and secondly let the size of the field = 1.

This info here might help:

https://www.w3schools.com/tags/att_select_size.asp

Here you can see i created a drop down select box and styled it with bootstrap.

[Image: untitled.png]

[Image: untitled2.png]


RE: Select Tag on Custom Profile Field? - alv4 - 05-10-2017

Sorry, I was tired on that momment. I realize now what was my mistake and it was really dumb.

Thanks! Smile


Custom Profile Field not appearing in Registration - taxguru - 05-27-2017

I have changed Custom Profile Field Sex to "Show on Registraion";

It did not show on registration, but when the user submits the registration form, it gives error "You did not enter an option for the "Sex" field. Please fill in or select a value for this field."

Even I created another custom field "Profession" and getting the same problem.


Please advice me.


RE: Custom Profile Field not appearing in Registration - Ashley1 - 05-27-2017

(05-27-2017, 09:11 AM)taxguru Wrote: I have changed Custom Profile Field Sex to "Show on Registraion";

It did not show on registration, but when the user submits the registration form, it gives error "You did not enter an option for the "Sex" field. Please fill in or select a value for this field."

Even I created another custom field "Profession" and getting the same problem.


Please advice me.

Please start your own thread.