View Full Version : creating a checkbox at registration
salata
12-03-2006, 04:10 AM
how can i create a check box during registration where members can select certain options and have their result place in a profile field and viewable when you click on a members profile. thanks in advance.
how can i create a check box during registration where members can select certain options and have their result place in a profile field and viewable when you click on a members profile. thanks in advance.
im interested in the answer to this too, i was just thinking about this the other day.
Ntfu2
12-03-2006, 02:55 PM
Custom profile fields
Then edit the MEMBERINFO template to place it where you want it
salata
12-04-2006, 01:40 AM
Custom profile fields
Then edit the MEMBERINFO template to place it where you want it
so i would select a question like male or female in the profile field, but what exactly do i need (the code) to put into the memeberinfo template?
also would you know how i can make a drop down box which members can select their answer, in case if there were more than two options to select from?
salata
12-05-2006, 06:35 PM
so i would select a question like male or female in the profile field, but what exactly do i need (the code) to put into the memeberinfo template?
also would you know how i can make a drop down box which members can select their answer, in case if there were more than two options to select from?
bump
Ntfu2
12-05-2006, 10:33 PM
so i would select a question like male or female in the profile field, but what exactly do i need (the code) to put into the memeberinfo template?
also would you know how i can make a drop down box which members can select their answer, in case if there were more than two options to select from?
when you create the field it recieves a number that you can view from the list of them. for example field5
then you put $member[fieldX] in the MEMBERINFO template where you want it to appear. I;m not 100% sure its $member[fieldX] but thats close. and X is the number of the field.
If its not included in the what you can do with custom profile fields, then i dont have a clue :)
how can i create a check box during registration where members can select certain options and have their result place in a profile field and viewable when you click on a members profile. thanks in advance.
You just want something viewable from the user profile??? Eg: Male or Female
AdminCP > User Profile Fields > Add New User Profile Field > Single Selection Menu
Title: I am a
Description: Please select male or female
Options (separate by return):
Male
Female
Set Default: None
Display Order: Up to you
Field Required: Up to you
Field Editable by User : Up to you
Private Field: No (if you want it viewable)
Field Searchable on Members List: Up to you
Display Page: Edit Profile
Show on Members List: Up to you
salata
12-06-2006, 02:07 AM
where do you see all that? when i go to add a profile field all i have to fill in are
Title
Max 50
Description
Max 250
Default Value
You may specify a default value that is entered into this field at the time of registration.
Max length of allowed user input
Display Size
Display Order
Field Required Yes No No, but display at registration
Field Editable by User Yes No Only at registration
Private Field Yes No
Field Searchable on Members List Yes No
Show on Members List Yes No
Regular Expression
You may require the input field to match a regular expression (PCRE).
dyna88
12-06-2006, 02:35 AM
You need to select "Single Selection Menu"...must have been a typo
salata
12-06-2006, 11:09 AM
thank you dyna88
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.