skyrun
Active Member
i have a list displayed on a form (through the content plugin).
only problem is that if i click to display, edit or add to the list, then the browser does that and doesn't save any changes i may have made to the form first.
here are three approaches i have considered to solve this that i am wondering if are possible on fabrik (i'm sure there are other approaches):
only problem is that if i click to display, edit or add to the list, then the browser does that and doesn't save any changes i may have made to the form first.
here are three approaches i have considered to solve this that i am wondering if are possible on fabrik (i'm sure there are other approaches):
- display the add/edit/details for the embedded list in a modal box over top of the form so the form/DOM is still intact underneath.
- make the add/edit/details links on the embedded list open in a new tab.
- have fabrik ask 'Save changes to [form name]?' before going off of any form on any page. This seems like a good enhancement all around. An 'are you sure' when leaving the page if you leave it using the window.xxxx method or the user changing the url on the page vs. when the user presses a button like save or 'go back' on fabrik. wouldn't even have to check to see if there were changes, could do it every time you are leaving a form page in a 'forced' way.