The CreatorCon Call for Content is officially open! Get started here.

Clear the form field values when Reset to draft button is clicked

Sprankle
Tera Contributor

I have a requirement to clear the form field values on demand table when reset to draft is clicked ,As soon as the demand is reset to Draft they should clear to allow for the new ones created as the user works through the process.

5 REPLIES 5

Anand2799
Tera Guru

Hi @Sprankle ,

 

In the UI Action 'Reset to Draft', you can clear values before updating the record in the serverResetToDraft() function.

Anand2799_0-1759494346769.png

 

Thanks

Anand