Prevent fields from clearing whats filled in when saving and another problem

@Patrik,

Could you please describe your case?

Should the user be able to create a new item with the same values again? If so, saving form data to local storage and populating the form after submission will work:

If the user should be able to save and then edit the same item, you should use a redirect: