Clear reference field value in UI page based other field on change

Ksnow
Tera Contributor

Hello

@Ankur Bawiskar @Amit Gujarathi @Community Alums @Abhinay Erra @shloke04 

Could anyone please advise how to clear reference field value when it's based on another field values in the UI page?

Example: Field B is based on Field A value, whenever Field A values changes clear the field B value.

 

Appreciate your help!

 

Thanks

2 REPLIES 2

Community Alums
Not applicable

Ankur Bawiskar
Tera Patron
Tera Patron

@Ksnow 

this link has solution

How to clear value of g:ui_reference box in UI Page when user select different option? 

Here is the link where I shared solution in 2020

How to clear value of g:ui_reference box in UI Page when user select different option? 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader