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

Dependant profile questions? | Forum

Kev
Kev Oct 21 '14
Hi guys,


I think I know the answer to this, but thought I'd ask regardless. On the profile questions for users, it is possible for have dependencies? For example, I could have a field that says "do you have a website?" which is a yes/no field. If the user selects "no", then nothing happens. But if the user selects "yes", then a URL field appears for them to put a link to their website.


Like I said, I'm pretty sure this isn't possible, but thought I'd ask anyway.


Thanks,


Kev

ross Team
ross Oct 22 '14
Topic was moved from General Questions.
Daisy Team
Daisy Nov 4 '14
Kev, it's possible, you will need to create a custom  profile questions. This functionality is related to the profile questions (core) functionality, thus this is a quite complicated code modifications. You can check how it works here: /ow_core/form_element.php

I suggest that you download our new Plugin Skeleton plugin to see how to use this or that function. Here is URL to the Store item: http://www.oxwall.org/store/item/695

If you are not familiar with the plugin development, it would be better for you to find a developer who can help you with it. Please visit our Oxwall Market (http://www.oxwall.org/market/specialists).
The Forum post is edited by Daisy Nov 7 '14
Cristiano
Cristiano Nov 7 '14
This is an excellent idea, especially for dating sites, should be a function of skadatex