Clear/cancel auto populated 'Requested_for' field

Sue143
Tera Expert

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.

5 REPLIES 5

Okay. Can you share screenshot of what ui policy or client script did you try?

 

Regards,

Sumanth