Clearing fields after clicking "Add to cart " in service portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2018 07:00 PM
Hi,
We are migrating from from CMS to Service portal.
We are facing an issue related to " add to cart".
The user needs the capability to refill data in form after adding entered details to cart.
I believe this can achieved by by clearing/ resetting the widget fields, but not sure how to get this done.
anyone faced the same issue/ implemented a similar functionality ?
Thanks,
Satheesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2018 10:21 PM
Thanks for your quick response!! Sachin and Mark!!
do we have a way to make this applicable only for specific items?
is it possible to implement the same through client scripts instead of modifying widget that will modify the behaviour globally.?
i think it is not possible, but checking to confirm!!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2018 05:22 AM
It's not possible to do this with client scripts because that action will take place before the catalog item is submitted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2021 12:12 PM
Hi SatheeshKumar,
Did you get a reply on this question. I have a similar question. On the "Add to Cart", I need to go back and add another item but need some of the fields cleared out but not all of them.
Thanks
Rachel