Skip to content

How to inform user when leaving a page with a form without saving #1021

@luxio

Description

@luxio

Is there a way, to discover, if the user is leaving a page with a form without saving it. He should receive a message, that he has not submitted the form and the data will be lost, if going to another page without saving the path first.

It could be done by changing drupalgap_goto(), but maybe there is another way.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions