[Skip to main content](#vessel-content)

#   Dynamically display dropdown based on user input

##

- **[Ingram](/forum/user/40028-ingram "View Ingram's Profile")**
- [![Ingram's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40028-ingram "View Ingram's Profile") Topic Author
- [ Offline](/forum/user/40028-ingram)

Less More

- Posts: 35
- Thank you received: 0
-
-

10 years 10 months ago [\#227297](#227297) by [Ingram](/forum/user/40028-ingram "View Ingram's Profile")  *[Dynamically display dropdown based on user input](/forum/32-content-creation/881705-dynamically-display-dropdown-based-on-user-input#227297 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.6 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : Google Chrome 47.0.2526.106  Hello,  We would like to dynamically display a drop-down list based on user input in a previous step.  We have created three radio buttons (Daily/monthly/3 monthly) using characteristics which changes price in the description depending on which one is selected. This is fine and what we need.  We would also like to change the drop-down field below the radio buttons depending on which radio button is selected. Currently, we have two drop-down list displaying but we only want to display one. The drop-down list has been created using options as we have lots of variables.  Example: if a user selects the Daily or Monthly radio button, the Power A drop-down list is shown with Power B hidden. If a user selects 3 monthly, the reverse should happen with Power B shown and Power A hidden.  Is this possible with Hikashop? If so, please tell us how.  Thanks")* was created by *[Ingram](/forum/user/40028-ingram "View Ingram's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.6
-- PHP version -- : 5.5.30
-- Browser(s) name and version -- : Google Chrome 47.0.2526.106

Hello,

We would like to dynamically display a drop-down list based on user input in a previous step.

We have created three radio buttons (Daily/monthly/3 monthly) using characteristics which changes price in the description depending on which one is selected. This is fine and what we need.

We would also like to change the drop-down field below the radio buttons depending on which radio button is selected. Currently, we have two drop-down list displaying but we only want to display one. The drop-down list has been created using options as we have lots of variables.

Example: if a user selects the Daily or Monthly radio button, the Power A drop-down list is shown with Power B hidden. If a user selects 3 monthly, the reverse should happen with Power B shown and Power A hidden.

Is this possible with Hikashop? If so, please tell us how.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODgxNzA1LWR5bmFtaWNhbGx5LWRpc3BsYXktZHJvcGRvd24tYmFzZWQtb24tdXNlci1pbnB1dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

10 years 10 months ago [\#227316](#227316) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Dynamically display dropdown based on user input](/forum/32-content-creation/881705-dynamically-display-dropdown-based-on-user-input#227316 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.6 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : Google Chrome 47.0.2526.106  Hello,  We would like to dynamically display a drop-down list based on user input in a previous step.  We have created three radio buttons (Daily/monthly/3 monthly) using characteristics which changes price in the description depending on which one is selected. This is fine and what we need.  We would also like to change the drop-down field below the radio buttons depending on which radio button is selected. Currently, we have two drop-down list displaying but we only want to display one. The drop-down list has been created using options as we have lots of variables.  Example: if a user selects the Daily or Monthly radio button, the Power A drop-down list is shown with Power B hidden. If a user selects 3 monthly, the reverse should happen with Power B shown and Power A hidden.  Is this possible with Hikashop? If so, please tell us how.  Thanks")*

Hello,

> Example: if a user selects the Daily or Monthly radio button, the Power A drop-down list is shown with Power B hidden. If a user selects 3 monthly, the reverse should happen with Power B shown and Power A hidden.

In your case you'll probably need to use the "Display limited to" option of the custom field configuration page that you want to display regarding the value selected in another custom field.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODgxNzA1LWR5bmFtaWNhbGx5LWRpc3BsYXktZHJvcGRvd24tYmFzZWQtb24tdXNlci1pbnB1dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Ingram](/forum/user/40028-ingram "View Ingram's Profile")**
- [![Ingram's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40028-ingram "View Ingram's Profile") Topic Author
- [ Offline](/forum/user/40028-ingram)

Less More

- Posts: 35
- Thank you received: 0
-
-

10 years 10 months ago [\#227668](#227668) by [Ingram](/forum/user/40028-ingram "View Ingram's Profile")  Replied by *[Ingram](/forum/user/40028-ingram "View Ingram's Profile")* on topic *[Dynamically display dropdown based on user input](/forum/32-content-creation/881705-dynamically-display-dropdown-based-on-user-input#227668 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.6 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : Google Chrome 47.0.2526.106  Hello,  We would like to dynamically display a drop-down list based on user input in a previous step.  We have created three radio buttons (Daily/monthly/3 monthly) using characteristics which changes price in the description depending on which one is selected. This is fine and what we need.  We would also like to change the drop-down field below the radio buttons depending on which radio button is selected. Currently, we have two drop-down list displaying but we only want to display one. The drop-down list has been created using options as we have lots of variables.  Example: if a user selects the Daily or Monthly radio button, the Power A drop-down list is shown with Power B hidden. If a user selects 3 monthly, the reverse should happen with Power B shown and Power A hidden.  Is this possible with Hikashop? If so, please tell us how.  Thanks")*

Thanks for your reply Mohamed.

I've tried to configure the 'display limited to' options but have not had much luck.

Can we send you a link to our test site with user credentials for you to have a closer look? If so, do you have an email address where I can send details?

Thanks,
Richard

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODgxNzA1LWR5bmFtaWNhbGx5LWRpc3BsYXktZHJvcGRvd24tYmFzZWQtb24tdXNlci1pbnB1dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

10 years 10 months ago [\#227711](#227711) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Dynamically display dropdown based on user input](/forum/32-content-creation/881705-dynamically-display-dropdown-based-on-user-input#227711 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.6 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : Google Chrome 47.0.2526.106  Hello,  We would like to dynamically display a drop-down list based on user input in a previous step.  We have created three radio buttons (Daily/monthly/3 monthly) using characteristics which changes price in the description depending on which one is selected. This is fine and what we need.  We would also like to change the drop-down field below the radio buttons depending on which radio button is selected. Currently, we have two drop-down list displaying but we only want to display one. The drop-down list has been created using options as we have lots of variables.  Example: if a user selects the Daily or Monthly radio button, the Power A drop-down list is shown with Power B hidden. If a user selects 3 monthly, the reverse should happen with Power B shown and Power A hidden.  Is this possible with Hikashop? If so, please tell us how.  Thanks")*

Hello Richard,

> We have created three radio buttons (Daily/monthly/3 monthly) using characteristics which changes price in the description depending on which one is selected. This is fine and what we need.

My bad, I didn't saw that you where using characteristics for your 3 radio buttons, there is no option to restrict custom item fields regarding variants.
But if you really want to do it like this, the solution will probably be to directly edit the "show_block_custom_item" file of the "product" view of your front-end template via "Hikashop-&gt;Display-&gt;Views" (some development skills will be required).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODgxNzA1LWR5bmFtaWNhbGx5LWRpc3BsYXktZHJvcGRvd24tYmFzZWQtb24tdXNlci1pbnB1dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.055 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
