VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: Pirosoft on May 24, 2012, 17:26:45 PM

Title: two user fields connected
Post by: Pirosoft on May 24, 2012, 17:26:45 PM
Hi, i need to create two user fields connected "division" and "agent" all two are select field.
For example division values are: division 1, division 2, division 3
and agent are: agent A (connected to division 1), agent B (connected to division 1), agent C (connected to division 2), agent D (connected to division 3), agent E (connected to division 3)
if in division field is selected "division 3" in agent field i can select just "agent D" or "agent E"
this functionality is like nationality/region-state-province.

Is it possible?
thanks
Title: Re: two user fields connected
Post by: Merry on May 29, 2012, 02:01:35 AM
Quote from: Pirosoft on May 24, 2012, 17:26:45 PM
Hi, i need to create two user fields connected "division" and "agent" all two are select field.
For example division values are: division 1, division 2, division 3
and agent are: agent A (connected to division 1), agent B (connected to division 1), agent C (connected to division 2), agent D (connected to division 3), agent E (connected to division 3)
if in division field is selected "division 3" in agent field i can select just "agent D" or "agent E"
this functionality is like nationality/region-state-province.
Is it possible? thanks

From the Admin, you can add new fields but they would not be linked, by using Shopper Fields in CONFIGURATION MENU - Shopper Fields Menu. Click the top left NEW Button and add the text you want and save. Then move it to the location you want by renumbering the REORDER Column.

Repeat for the second field.

If you want to link the two fields, you need some custom programming.

Hope that helps.
Merry