Clear/cancel auto populated 'Requested_for' field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2022 04:48 AM
Hy Guys,
I am having a bit of trouble to figure how to clear the value of a field 'requested for' type in the form. The problem is that this Item is under the Technical catalog and does not appears in ServicePortal, so an UI policy have not helped me so far.
what I have it does clean the value:
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
g_form.clearValue('adm_account');
}
but also, it Clears any other value I may set.
I have tried onload function but it hasn't work.
Is anybody there whiling to help? 🙂
Appreciate any help,
thank you.
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2022 03:30 AM
Okay. Can you share screenshot of what ui policy or client script did you try?
Regards,
Sumanth