- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2022 08:37 AM
Hi,
I have wrote client script for making fields visible false but when i select any random value from dropdown than the previous selected value is showing on catalog task. I want to clear the all field values when i am changing dropdown value and on catalog task only related fields should be shown according to choice of dropdown.
How can i achieve this>
Please help me out.
Thaks,
Raghav
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2022 10:49 AM
HI,
In your client scripts/UI Policies..
you need to make "true" for all the below three, then in all Portal/Catalog task/RITM it will be in a proper sync..

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2022 08:54 AM
Hi Raghav,
Try using g_form.clearValue() or g_form.setValue("field_name", '');
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2022 09:05 AM
I want clear all values of fields when i am changing dropdown value and need to set new values according to condition and also i tried using g_form.clearValue but it is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2022 10:49 AM
HI,
In your client scripts/UI Policies..
you need to make "true" for all the below three, then in all Portal/Catalog task/RITM it will be in a proper sync..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2022 09:27 PM
Thank you Raghu for help.