Keep previous data intact

I am working on forms where I have next button. When clicking on next button its taking me to next form where I have a back button.

The problem is that when I click on back button, the data I entered gets deleted and I have to fill it again. Is there any way that the data does not get erased when i click on back button?

Hi @pctripathi,

on workflow forms the Back action delete the current flow and the Cancel action close the form without delete the flow.

@enistri_devo So, there is no way I can keep the entered data intact when I come back to previous page?

Hi @pctripathi ,

Include the following transition in Form 2 step: When the back button is clicked on Form 2, it will navigate to Form 1, allowing you to view the data that was entered.

<Transition to="Form 1" when="!approved"/>
1 Like

HI @Arun-Kumar
I have entered transition to and arg in my code. Still the previous form data is being erased when going back

Hi @pctripathi ,

Where are you using this form?
Could you kindly share the XML?

Hi @Arun-Kumar
Thanks for the provided solution above