Hide/Show drop down values based on another reference field value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2023 05:12 AM
Hi All,
Based on Country selection, languages should be displayed in Language field on customer_contact record.
1)Country reference field (core_country)
2)Language is drop down list
Ex : Country : Austria , Languages : English, German
Country : Canada , Languages : English
Country : Netherlands , Languages : English, Dutch
Can anyone help me on this requirement. Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 03:35 AM
Hi,
getting null in answer.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 03:38 AM
ga.addParam('sysparm_country', g_form.getReference('u_country').name);
This may now work without callback. Try hardcoding the value and check the alert.
ga.addParam('sysparm_country', 'Canada'); // try if this returns an answer
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 03:46 AM
Hi,
No luck, still getting null only.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 03:57 AM
Its working for me in background script, not sure what you are missing.
Try returning return result.Canada;
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 04:23 AM
Hi,
CS: