Is it possible to revert onclick input field

Suppose we have  many input fills  we fill the data one by one  but here we want to (Revert) the data on the first fill can we do this if yes how can 
1 answers

Hi Isha,


Yes, that is feasible. When you load the page, you must make a copy of the existing object using a non persistent entity that you want to set after the reversal. When you want to revert the current object, you can set those values at any moment.


For example, suppose you have an entity named A with some data. Before loading the page, you must construct an object B of the helper entity, which will be non-persistent. You can set the association between those two entities as well as the data of entity A. You can utilize the B object to set back values in object A by retrieving it via the association.


Hope it will help!