Reset boxes when button is pressed

asd22
Tera Contributor

Hello. 

 

The button in the picture is a widget, i dont really wanna start editing the widget as it may lead to issues somewhere els. But is there a way to reset the lookup boxes "choose product category" and "find product" after the "select product" button is pressed with out editing the widget itself?

asd22_0-1704362944281.png

 

2 REPLIES 2

Anil Lande
Kilo Patron

It depend how that button is configured.

If the logic to find product is configured in widget then you have to modify the widget.

How you created this button?

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @asd22 

 

I agree with @Anil Lande here also , if you dont want to touch existing code, add a new button with reset and build logic.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************