Self Manageable Dependent Fields from AntonLV

Hello everybody.

This is a support forum for our Self Manageable Dependent Fields module.

If you have some questions or suggestions regarding it feel free to post them here or contact us directly.


Related modules:

1. Dependent Fields - a previous version of this module with less number of useful features.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 1 Feb 2012

Any plans to put ajax options?

Mod is now great but with ajax it'll be 10000x more exciting.

E.g.

http://harvesthq.github.com/chosen/

Quote · 8 Mar 2012

 

Any plans to put ajax options?

Mod is now great but with ajax it'll be 10000x more exciting.

E.g.

http://harvesthq.github.com/chosen/

 It has AJAX by default. AJAX allows it to request data of depended fields from the server when parent value is selected/changed. Probably you meant the custom style like on http://harvesthq.github.com/chosen/ - no, we are not planning to change style of dropdowns, to keep Dolphin's default style and to avoid design conflicts with custom templates.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 8 Mar 2012

Oh, if wanted to change the style like in the link, you can do customisation?

Quote · 8 Mar 2012

 

Oh, if wanted to change the style like in the link, you can do customisation?

 Yes. PM us if interested.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 8 Mar 2012

After dependent list is ready proceed to [admin panel -> builders -> profile fields] and add new field and click on it to bring up field properties form (or edit existing field).

 

How?

 

sorry I am a beginner...

 

bill

Quote · 28 Apr 2012

okay i figured out how to make states dependent on country and even have the fields builder and it worked.  i can not get city to become dependent on state though.  i have tried like hell doing the same procedure as before.

 

bill

Quote · 28 Apr 2012

okay dont kill me everybody.  i figured everything out except how to make the zip codes dependent on the cities.  this just does not work for me.  i promise i will not figure this one out, so anybody with any useful information please help me.

 

bill

Quote · 28 Apr 2012

 

okay dont kill me everybody.  i figured everything out except how to make the zip codes dependent on the cities.  this just does not work for me.  i promise i will not figure this one out, so anybody with any useful information please help me.

 

bill

 

 As far as I see you've created a separate dependency chain PostalCode -> Zip. But if you want to make Zip code dependent on the City then you must create the Zip codes list depended on Cities list (i.e. exactly as you made City list depended on State list). So I suggest to:

1) delete Zip list, and Postal Code list

2) create Zip list depended on City list

3) make Zip field depended on City field in fields builder.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 30 Apr 2012

When I set the fields to self manage, user's are not able to join anymore. even if the fields are not set as mandatory...

 

any thoughts?

Quote · 20 Sep 2012

 

When I set the fields to self manage, user's are not able to join anymore. even if the fields are not set as mandatory...

 

any thoughts?

 Possibly something went wrong during installation. I suggest you to check that all files modifications were made correctly. If you don't have instructions anymore then you can simply hit Uninstall and then Install buttons for the module to get instructions. But in this case don't forget to set dependencies back in fields builder (you will not loose neither dependent values lists nor dependent fields).

On our demo site http://dolphin70.aqbsoft.com/join.php there is no such a problem, and this tells that something is wrong not with the module itself but with a particular site.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 21 Sep 2012

My join consists of 2 pages. One with all the info, and a 2nd that has the captcha and terms.

 

user's get past the first page, but when putting in the captcha and checking the terms ack box, when they click join it says there are missing fields... so not sure where it thinks they are missing...

Quote · 21 Sep 2012

 

My join consists of 2 pages. One with all the info, and a 2nd that has the captcha and terms.

 

user's get past the first page, but when putting in the captcha and checking the terms ack box, when they click join it says there are missing fields... so not sure where it thinks they are missing...

 We've temporarily set up the join page on our demo site http://dolphin70.aqbsoft.com/join.php in 2 steps too. Just a minute ago I've tested it by registering a profile with Business Subcategory left as empty. Feel free to give it a test. So I still suggest you to verify module's installation. If you're 100% sure that installation is correct then we can check it and find the problem if you'd provide us with server's admin panel and FTP access via PM.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 21 Sep 2012

Is there any way to always show the list(s) alphabetically? With people adding entries all the time, the lists for the manageable fields get really touch to navigate and is a pain to sort by manually clicking the ups and downs

 

thanks!

Quote · 22 Sep 2012

 

Is there any way to always show the list(s) alphabetically? With people adding entries all the time, the lists for the manageable fields get really touch to navigate and is a pain to sort by manually clicking the ups and downs

 

thanks!

 It is possible to achieve that as a custom modification made specifically for your case.
The reason of why that feature is not there by default is because of multi-language support. Order of values can be different in different languages. Thus it would be necessary to sort values each time they're needed depending on user's language. And this could consume a lot of server resources especially on large lists.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 22 Sep 2012

Ok thanks, I'll PM you for that.

 Another feature i think would be good, is to have the new value editable. So if the user misspelled (or even didn't capitalize properly etc...), the city in my case, I can correct it right when I do the approval...

 Thanks

Quote · 22 Sep 2012

 

Ok thanks, I'll PM you for that.

 Another feature i think would be good, is to have the new value editable. So if the user misspelled (or even didn't capitalize properly etc...), the city in my case, I can correct it right when I do the approval...

 Thanks

 You can do that in 3 steps:

1) Approve the value

2) Edit it in predefined list

3) Edit profile which was using that value and assign it a newly edit value.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 24 Sep 2012

 

 

Ok thanks, I'll PM you for that.

 Another feature i think would be good, is to have the new value editable. So if the user misspelled (or even didn't capitalize properly etc...), the city in my case, I can correct it right when I do the approval...

 Thanks

 You can do that in 3 steps:

1) Approve the value

2) Edit it in predefined list

3) Edit profile which was using that value and assign it a newly edit value.

 Right... that's what I'm doing now and I'd rather save myself the extra steps and time needed for all that. My only self-manageable field is a dependent of a list with more than 4k rows so browsing the list for #2 is slow. I get 300 new members a day and finding the user with that value is unrealistic.

I guess it just may not be possible to have the new value editable in the approval list?

 

Thanks

Quote · 24 Sep 2012

 

 

 

Ok thanks, I'll PM you for that.

 Another feature i think would be good, is to have the new value editable. So if the user misspelled (or even didn't capitalize properly etc...), the city in my case, I can correct it right when I do the approval...

 Thanks

 You can do that in 3 steps:

1) Approve the value

2) Edit it in predefined list

3) Edit profile which was using that value and assign it a newly edit value.

 Right... that's what I'm doing now and I'd rather save myself the extra steps and time needed for all that. My only self-manageable field is a dependent of a list with more than 4k rows so browsing the list for #2 is slow. I get 300 new members a day and finding the user with that value is unrealistic.

I guess it just may not be possible to have the new value editable in the approval list?

 

Thanks

Ok that makes sence. We will try to find a way of editing newly added values during premoderation. We will post a notification here as soon/if we will find a way to implement that. 

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 24 Sep 2012

 

 

Is there any way to always show the list(s) alphabetically? With people adding entries all the time, the lists for the manageable fields get really touch to navigate and is a pain to sort by manually clicking the ups and downs

 

thanks!

 It is possible to achieve that as a custom modification made specifically for your case.
The reason of why that feature is not there by default is because of multi-language support. Order of values can be different in different languages. Thus it would be necessary to sort values each time they're needed depending on user's language. And this could consume a lot of server resources especially on large lists.

 

Would it be possible to add a sort function when viewing the AqbSMDFEditDependentList popup? That way, it can be sorted only on this screen if a user so desires. May also be ok for different languages? For list that has 20-30+ rows and then a new value at the top, which may need to go all the way to the botom, it's a lot of clicks to get it in the right spot.

Quote · 24 Sep 2012

 Hello

 

 

Is there any way to always show the list(s) alphabetically? With people adding entries all the time, the lists for the manageable fields get really touch to navigate and is a pain to sort by manually clicking the ups and downs

 

thanks!

 It is possible to achieve that as a custom modification made specifically for your case.
The reason of why that feature is not there by default is because of multi-language support. Order of values can be different in different languages. Thus it would be necessary to sort values each time they're needed depending on user's language. And this could consume a lot of server resources especially on large lists.

 

Would it be possible to add a sort function when viewing the AqbSMDFEditDependentList popup? That way, it can be sorted only on this screen if a user so desires. May also be ok for different languages? For list that has 20-30+ rows and then a new value at the top, which may need to go all the way to the botom, it's a lot of clicks to get it in the right spot.

Do you mean a popup window where admin manages dependent values? If so then it can be done as a custom modification for your case. Because that sorting isn't needed for everyone, just like a default predefined values page do not makes any sorting allowing an admin to keep the order of values as he needs it (it do not always has to be alphabetical). 

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 24 Sep 2012

 

 

 

Ok thanks, I'll PM you for that.

 Another feature i think would be good, is to have the new value editable. So if the user misspelled (or even didn't capitalize properly etc...), the city in my case, I can correct it right when I do the approval...

 Thanks

 You can do that in 3 steps:

1) Approve the value

2) Edit it in predefined list

3) Edit profile which was using that value and assign it a newly edit value.

 Right... that's what I'm doing now and I'd rather save myself the extra steps and time needed for all that. My only self-manageable field is a dependent of a list with more than 4k rows so browsing the list for #2 is slow. I get 300 new members a day and finding the user with that value is unrealistic.

I guess it just may not be possible to have the new value editable in the approval list?

 

Thanks

 The feature was added. To get it you need to download the latest copy of module's package, extract it and upload it to the folder where old version is installed (modules/aqb/smdf/) replacing the old files (no need to reinstall the module, just replace the files). After that it is necessary to clean site's templates cache at admin's dashboard.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 25 Sep 2012

fantastic, thanks! Is it supposed to update the VALUE only? Perhaps both VALUE & LKEY?

Quote · 25 Sep 2012

LKEY is perhaps more important... as that is what is visible in the profile pages... ?

Quote · 25 Sep 2012

 

LKEY is perhaps more important... as that is what is visible in the profile pages... ?

Yes, but only for values added by users. For values added/edited by admin it can be anything else. LKey - is just a language key, which can be translated to anything on the frontend and moreover in different languages it can start from a different letter. That is a problem I was talking about earlier. So sorting by Lkey will not go to a production (public module release) and can be done only for a specific case as a custom modification.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 25 Sep 2012

So I guess what I'm saying is... To have the editable field be the VALUE (which no one ever see's anyway) isn't much use. The reason I was looking to have the field editable as I thought it would update the LKEY so when it's viewed on a profile, it's proper and spelled right.

As is it now... if I 'fix' a new value (correct a spelling mistake and proper capitalization) and approve it. I still then need to go find that value and re-edit it to fix the LKEY as well so it's displayed properly.

But maybe I'm not understanding the use of VALUE/LKEY... correct me if I'm wrong so I know.

Perhaps displaying both the VALUE and LKEY as editable fields would be acceptable?

Sorting I understand would be custom so will look to that later.

Thanks

Quote · 25 Sep 2012

 

So I guess what I'm saying is... To have the editable field be the VALUE (which no one ever see's anyway) isn't much use. The reason I was looking to have the field editable as I thought it would update the LKEY so when it's viewed on a profile, it's proper and spelled right.

As is it now... if I 'fix' a new value (correct a spelling mistake and proper capitalization) and approve it. I still then need to go find that value and re-edit it to fix the LKEY as well so it's displayed properly.

But maybe I'm not understanding the use of VALUE/LKEY... correct me if I'm wrong so I know.

Perhaps displaying both the VALUE and LKEY as editable fields would be acceptable?

Sorting I understand would be custom so will look to that later.

Thanks

 Ah yes, you're definitely right. It was corrected now, so editing a new value updates the LKey part and not the Value.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 25 Sep 2012

Ok phew! Thanks a lot, that works great for me.

Quote · 25 Sep 2012

I've noticed a bug. If I approve some values once, the "Approve" won't work again until I actually reload the page... to continue approving more values...

 

Thanks!

Quote · 27 Sep 2012

 

I've noticed a bug. If I approve some values once, the "Approve" won't work again until I actually reload the page... to continue approving more values...

 

Thanks!

 I suggest you to check it in another browser because it seems like your browser issue and not the module's. Just a second ago I've tested it in FireFox by approving 3 values one by one without refreshing a page and it works fine for me.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 28 Sep 2012

I've discovered that I'm getting quite a few new values that really should be duplicates (they seems to be adding a whitespace at the end of the value) and denied? Or perhaps you can explain how this senario would play out.

 

If a user is lazy, and doen't even look at the list, and decided to create a new value. What happens, does it get added anyway with a whitespace on the end since the value already exisited? Or are the member's actually creating a new value with a trailing whitespace and it being accepted?

 

Thanks

Quote · 11 Oct 2012

 

I've discovered that I'm getting quite a few new values that really should be duplicates (they seems to be adding a whitespace at the end of the value) and denied? Or perhaps you can explain how this senario would play out.

 

If a user is lazy, and doen't even look at the list, and decided to create a new value. What happens, does it get added anyway with a whitespace on the end since the value already exisited? Or are the member's actually creating a new value with a trailing whitespace and it being accepted?

 

Thanks

It is necessary to look at the values, most likely they aren't identical but have some slight differences.

When a user types in the value manually then the module before adding it to database tries to find a match in existing values by making a case insensitive comparison of that new value with all LKeys and translated strings of a certain predefined list. If there was no match then value is being added.

But it doesn't tries to get rid off the whitespaces. So the values "New-York" and "New-York " aren't considered as identical. If you want it to strip off the whitespaces then try the following patch:

Edit the file modules/aqb/smdf/classes/AqbSMDFModule.php, the line

$sNewVal = strip_tags($_REQUEST[$aField['Name'].'_df']);

replace with

$sNewVal = strip_tags(trim($_REQUEST[$aField['Name'].'_df']));

and the line

$sNewVal = strip_tags($_REQUEST[$aField['Name'].'_df'][$i]);

replace with

$sNewVal = strip_tags(trim($_REQUEST[$aField['Name'].'_df'][$i]));

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 11 Oct 2012

Ok thanks for that explanation. I'll apply the patch as I'm seeing a lot of cases of the same value with only a white space added.

 

Thanks

Quote · 11 Oct 2012

Hello everybody.
The module was updated. It's available for Dolphin 7.1 now.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 7 Nov 2012

OK, if I have dependent fields Country -> State, would it be also possible to insert the State field next to Country field in Ads module at Browse All Ads page, look at: http://dolphin70.aqbsoft.com/ads/cat/Personals ?

Thanks

Quote · 11 Nov 2012

 

OK, if I have dependent fields Country -> State, would it be also possible to insert the State field next to Country field in Ads module at Browse All Ads page, look at: http://dolphin70.aqbsoft.com/ads/cat/Personals ?

Thanks

Yes it is possible as a custom modification for an additional fee. Send us a private message if interested.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 12 Nov 2012

 

 

I've discovered that I'm getting quite a few new values that really should be duplicates (they seems to be adding a whitespace at the end of the value) and denied? Or perhaps you can explain how this senario would play out.

 

If a user is lazy, and doen't even look at the list, and decided to create a new value. What happens, does it get added anyway with a whitespace on the end since the value already exisited? Or are the member's actually creating a new value with a trailing whitespace and it being accepted?

 

Thanks

It is necessary to look at the values, most likely they aren't identical but have some slight differences.

When a user types in the value manually then the module before adding it to database tries to find a match in existing values by making a case insensitive comparison of that new value with all LKeys and translated strings of a certain predefined list. If there was no match then value is being added.

But it doesn't tries to get rid off the whitespaces. So the values "New-York" and "New-York " aren't considered as identical. If you want it to strip off the whitespaces then try the following patch:

Edit the file modules/aqb/smdf/classes/AqbSMDFModule.php, the line

$sNewVal = strip_tags($_REQUEST[$aField['Name'].'_df']);

replace with

$sNewVal = strip_tags(trim($_REQUEST[$aField['Name'].'_df']));

and the line

$sNewVal = strip_tags($_REQUEST[$aField['Name'].'_df'][$i]);

replace with

$sNewVal = strip_tags(trim($_REQUEST[$aField['Name'].'_df'][$i]));

 Is this still valid for 7.1?

Quote · 18 Feb 2013

 Hello

 

 

I've discovered that I'm getting quite a few new values that really should be duplicates (they seems to be adding a whitespace at the end of the value) and denied? Or perhaps you can explain how this senario would play out.

 

If a user is lazy, and doen't even look at the list, and decided to create a new value. What happens, does it get added anyway with a whitespace on the end since the value already exisited? Or are the member's actually creating a new value with a trailing whitespace and it being accepted?

 

Thanks

It is necessary to look at the values, most likely they aren't identical but have some slight differences.

When a user types in the value manually then the module before adding it to database tries to find a match in existing values by making a case insensitive comparison of that new value with all LKeys and translated strings of a certain predefined list. If there was no match then value is being added.

But it doesn't tries to get rid off the whitespaces. So the values "New-York" and "New-York " aren't considered as identical. If you want it to strip off the whitespaces then try the following patch:

Edit the file modules/aqb/smdf/classes/AqbSMDFModule.php, the line

$sNewVal = strip_tags($_REQUEST[$aField['Name'].'_df']);

replace with

$sNewVal = strip_tags(trim($_REQUEST[$aField['Name'].'_df']));

and the line

$sNewVal = strip_tags($_REQUEST[$aField['Name'].'_df'][$i]);

replace with

$sNewVal = strip_tags(trim($_REQUEST[$aField['Name'].'_df'][$i]));

 Is this still valid for 7.1?

 Yes, that solution is still valid.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 18 Feb 2013

Is it possible to make a field self-manageable without a dependency?

Thanks, Kate

Quote · 23 Apr 2014

 

Is it possible to make a field self-manageable without a dependency?

Thanks, Kate

 Unfortunately no, it works only for dependent fields.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 24 Apr 2014

Hi Anton!

I need to ask you about display translation, I have listed some values for many dependant fields; but I cant find the way to translate each value at "LKey", for example: "__DisplayText"

Where are they?

Thanks in advance!

Quote · 24 Jun 2014

 

Hi Anton!

I need to ask you about display translation, I have listed some values for many dependant fields; but I cant find the way to translate each value at "LKey", for example: "__DisplayText"

Where are they?

Thanks in advance!

 Hi,

If you weren't adding them earlier then those keys are nowhere yet. In that case you have to add them via languages panel.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 25 Jun 2014

After installing yesterday when I now go to builder->Profile fields it says "loading..." and hangs, it never loads the screen to then edit profile fields.  I'll get the options like Owner, Admin, etc. but none of the profile pages are loading.  I've tried join, edit, view, and search and all of them say: loading...

Quote · 19 Mar 2015

 This means that inc/classes/BxDolPFM.php file was modified incorrectly. I suggest you to reinstall the module to get modification instructions (no need to follow uninstallation instructions, just hit uninstall and then install buttons for the module) again and carefully check each modification. Or share with us inc/classes/BxDolPFM.php file and we will check it for you. 

After installing yesterday when I now go to builder->Profile fields it says "loading..." and hangs, it never loads the screen to then edit profile fields.  I'll get the options like Owner, Admin, etc. but none of the profile pages are loading.  I've tried join, edit, view, and search and all of them say: loading...

 

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 20 Mar 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.