In content form closed by clicking the home button - can you disable that?
1
If a user clicks the home button while editing information in an "In content" form, the information is lost, Right? I would like to prevent a user from making that mistake and either disable the home button or make sure another action is performed first, like saving the data the user is working on. I expected the "close button" functionality to play a role here, but found out the MF behind the close button is not executed when clicking the home button. What options do I have?
asked
Toon Verschoor
2 answers
1
One option would be to add an onchange microflow to each field. In this microflow you check the validity of your input and if correct you commit your object.
answered
Pieter van de Braak
0
I guess you could delete the home button by editing the index.html or by setting the css for the home-button to disable:none. But I'm not sure if that solves your problem when the user presses the back-button in the browser.