Skip to main content
Nintex Community Menu Bar
Solved

Reset a smartform after submission

  • March 17, 2015
  • 4 replies
  • 21 views

Forum|alt.badge.img+4

How do you clear all the fields from a smartform after the user has clicked the submitted button?

Best answer by Andrew_Blinco

Hi PBear74

 

Each view has a clear method that you can use. Select the "Execute a method on the view" action and choose the clear method. This will clear the values for all controls on that view.

 

If you don't want to clear every field you can use the "transfer data" action. Just tick the boxes for the controls you want to clear and leave the value blank.

 

 

4 replies

Forum|alt.badge.img+8

Hi PBear74

 

Each view has a clear method that you can use. Select the "Execute a method on the view" action and choose the clear method. This will clear the values for all controls on that view.

 

If you don't want to clear every field you can use the "transfer data" action. Just tick the boxes for the controls you want to clear and leave the value blank.

 

 


Forum|alt.badge.img+4
  • Author
  • March 19, 2015

Thanks Andrew, that did it.


Forum|alt.badge.img+1
  • November 19, 2015

On a similar note, I have a ListView on a form that has Filter/Search Enabled. So let's say I use these control to

locate specific data... The view filters as I expect. However, when I Refresh my Form, I wish to also have the

Filter/Search reset as well. When I Refresh, I run the Clear Method as well as the GetMethod for the View, but

the Search Criteria does NOT Reset. Anybody have a solution? Bueller?


  • August 18, 2017

ave you tried just re-running the Initialize method after calling the clear one? That will reset your form to the base state.