Jump to the post that solved this thread.
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 2 Years, 1 Month, 2 Weeks ago Select Tag on Custom Profile Field?
#1
Solved: 2 Years, 1 Month, 2 Weeks ago
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...tml_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
[Image: 40DS6Te.png]

Reply
#2
Solved: 2 Years, 1 Month, 2 Weeks ago
It might be this one:

usercp_profile_profilefields_select

under user control panel templates

What goes around comes around



Reply
#3
Solved: 2 Years, 1 Month, 2 Weeks ago
(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.
[Image: 40DS6Te.png]

Reply
#4
Solved: 2 Years, 1 Month, 2 Weeks ago
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 ?

What goes around comes around



Reply
#5
Solved: 2 Years, 1 Month, 2 Weeks ago
(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]
[Image: 40DS6Te.png]

Reply
#6
Solved: 2 Years, 1 Month, 2 Weeks ago
(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]

What goes around comes around



Reply
#7
Solved: 2 Years, 1 Month, 2 Weeks ago
Sorry, I was tired on that momment. I realize now what was my mistake and it was really dumb.

Thanks! Smile
[Image: 40DS6Te.png]

Reply
#8
Solved: 2 Years, 1 Month, 2 Weeks ago
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.
Reply
#9
Solved: 2 Years, 1 Month, 2 Weeks ago
(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.

What goes around comes around



Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)