Start a new topic
Answered

Reset or null all fields in a form

If a user starts filling out the fields in a from and at some point wants to reset(or null) all the values in the form and start over.  Is there a way to do that without exiting the form?  There are 20+ fields on the form.

-Matt


Best Answer

Hello Matthew,


Yes, you can do this by simply 'Refresh' the browser page-



After doing the Refresh, all the fields are reset-


Please make a test and let us know if you need more help.


Thank you & Regards

Subham Dixit




Answer

Hello Matthew,


Yes, you can do this by simply 'Refresh' the browser page-



After doing the Refresh, all the fields are reset-


Please make a test and let us know if you need more help.


Thank you & Regards

Subham Dixit



Subham,

Thanks for the quick reply.  I was hoping there was something in the tool that allowed it.  Here is my actual situation.  In the screenshot below the combination of sku type and sku sub type(53 different combos) uses different combos of the attributes below.  If a user starts to fill out the form and then realizes the sku type/sub type combo was not correct and changes it, I need all the fields below to be set to null on that change.  I want a fresh start when one of those 2 field(sku type or sub type) are changed.


Thanks,


Matt


image


I've solved it.  

  1. I crated a temp field(SkuType_SubType_Hold).  
  2. On Form Change it calls an enricher that checks each attribute individually and if the concat of the  SkuType and SubType doesn't equal the hold field then set the value to NULL else set it to itself.
  3. Then call on change enricher that sets SkuType_SubType_Hold to CONCAT(SkuType,SubType).


On every change in the form this process is evaluated.

Login to post a comment