Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Don't ask for confirmation to close the form

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Don't ask for confirmation to close the form

Unread post by kknm »

The form contains a calendar for selecting the date of the report. Each time before closing the form, it asks if the selected date should be saved, but this is not necessary.
How to suppress the question?
kev1n
nuBuilder Team
Posts: 4304
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: Don't ask for confirmation to close the form

Unread post by kev1n »

Hi,

Add an onchange event to the date field with the Javascript

Code: Select all

nuHasNotBeenEdited();
You do not have the required permissions to view the files attached to this post.
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: Don't ask for confirmation to close the form

Unread post by kknm »

kev1n wrote:Hi,

Add an onchange event to the date field with the Javascript

Code: Select all

nuHasNotBeenEdited();
Thanks !
Post Reply