Conditional fields and values

17 years 10 months ago #13359 by mikko
Replied by mikko on topic Re:Conditional fields and values
I don't think that I will ever integrate conditions to search. Two reasons for this:
1) If this is indeed needed, it is much better to do it to the search component directly. In this case it is better that the search component's programmer integrates this piece of code or makes a similar extension.
2) I have very little need for search, so there is no point for me to make this. I code only because I happen to need the stuff that I program. And it does not hurt to publish it.

-Mikko

Please Log in to join the conversation.

17 years 10 months ago #13361 by animas
Replied by animas on topic Re:Conditional fields and values
Ok I understand.
Where can I download the latest version of this plugin & documentation?
Thanks.

Please Log in to join the conversation.

17 years 10 months ago #13363 by mikko
Replied by mikko on topic Re:Conditional fields and values
The downloads section of this site. The plugin has not been update for 1.0, but should work.

There will be a new release sometime, but I really do not want to set any date at this point of time.

mikko

Please Log in to join the conversation.

17 years 10 months ago #13913 by animas
Replied by animas on topic Re:Conditional fields and values
cb_country valuse : United States, India
cb_state values: New York, Texas, Mumbai, Goa

I want to show New York, Texas values only in cb_state dropdown when user select United States in cb_country.

In #__comprofiler_conditions filedname="cb_country" , value="United States" and id=0 .
In #__comprofiler_field_values for New York and Texas values I intserted columnid=0.

Condition is my last tab and published.

But it is not doing any filtering when user selects "United States" in cb_country while editing profile.
Any clue?

Please Log in to join the conversation.

17 years 10 months ago #13915 by mikko
Replied by mikko on topic Re:Conditional fields and values
The most common problem seems to be that you put the fields with conditions on the conditions tab. They need to be on tabs that are before the conditions tab.

Any javascript errors?

mikko

Please Log in to join the conversation.

17 years 10 months ago #13967 by animas
Replied by animas on topic Re:Conditional fields and values
Both fields are on Profile tab(order 101) which is before conditions tab(order 103 - the last tab).

No javascripts error shown.

Do I need to enter columnid into #__comprofiler_fields for the purpose?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.237 seconds

Facebook Twitter LinkedIn