Getting the dependent value when deleting the value of the variable in catalog item.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 02:27 AM
Hi Team,
Can anyone help me with the below issue.
We have a catalog item and there are two variables location number and access group. (both are stored in choice table). when location number selected, the dependent value of it (access group) should auto populate.
I achieved this requirement by using scrip include and onchange client script(attached screenshot)
The issue is when removing the location number, still getting the access group value of the previous location number. (Note: we can select multiple location numbers).
Can anyone help me with this issue. Attached reference screenshots.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 02:58 AM
Hi @Satya kolisetti ,
I don't see you have a script which is covering the removal of an option from location number.
instead of only passing the last value of location number, you can pass all in "On change" of the value.
Hope this helps. Please let me know for more questions.
Regards,
Karunakaran.