We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Question user | Forum

Topic location: Forum home » Support » General Questions
Asma Ben Sassi
Asma Ben Sassi Dec 19 '14
why all the selectbox create in question user changes into checkbox in the search page?
see screenshot
Attachments:
  Captureformular.JPG (61Kb)
ross Team
ross Dec 22 '14
What did you choose as the answer type for those questions?

Please provide screenshot. 

Asma Ben Sassi
Asma Ben Sassi Dec 22 '14
for example for the country field is not possible to put more than 40 checkbox !! therefore preferably it is a selectbox
there was alot of other questions that possess multiple values, so we should have the choice to put checkbox or selectbox for each question in the seach form.
Asma Ben Sassi
Asma Ben Sassi Dec 22 '14
Here is a screenshot
Attachments:
  Capturesearch.JPG (78Kb)
ross Team
ross Dec 22 '14
Do you mean drop-down menu?

Screenshot of the profile questions from the admin panel not user-end, please

Asma Ben Sassi
Asma Ben Sassi Dec 22 '14

yes dropdown fields in join page, I want it to remain dropdown in search (not all fields)

Attachments:
  Capturequestion.JPG (52Kb)
ross Team
ross Dec 22 '14
We did this as checkboxes on search because users will be able this way to check several options and therefore find more people. 
Asma Ben Sassi
Asma Ben Sassi Dec 22 '14
yes I know and you are right about it, but sometimes you have to put in dropdown menu if it contains multiple values (country, city, religion, ...)
ross Team
ross Dec 22 '14
To change this is considered as a custom code modification. 


You need to go here: ow_system_plugins/base/bol/question_service.php


function is called 

public function prepareFieldValueForSearch and do the certain changes. 


Or you can hire a programmer who could assist you with that. You can do that here: http://www.oxwall.org/market/specialists


Also you can create a post in the custom code modification section of the forum, probably some community member will assist you in that.