How to clear an InputField value while returning to another view?
I have two Views: a main view in which the user gives a pernr (InputField) for searching its information, and a result view on which the information displays. On the result view there is a button for returning to the main view. Now when I click the button it returns to the main view but the pernr which has been stocked always exists. So how to clear the pernr just on leaving a view and returning to another one?