Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

nuEditCloseAfterSave Option Allforms and Run object

Questions related to using nuBuilder Forte.
Post Reply
yvesf
Posts: 347
Joined: Sun Mar 14, 2021 8:48 am
Location: Geneva
Has thanked: 94 times
Been thanked: 12 times

nuEditCloseAfterSave Option Allforms and Run object

Unread post by yvesf »

Hello,

I am experiencing a pb when using this new nice option : nuEditCloseAfterSaveOption doesn't work with run object when set to AllForms.
Scenario :
I have a launch form which contains 2 objects : input date as date that drives the run iframe object below.
screen1.PNG
1.- If nuEditCloseAfterSave option is set to None,
CaptureNone.PNG
the record is saved and the application is working as expected.(cf below)
SavePbWithoutAutomaticClose.gif
2.- If nuEidtCloseAfterSave option is set to AllForms,
CaptureAllForms.PNG
--> the application is running in a loop.
SavePbWithAutomaticClose.gif
Here is the related exposed solution -->
07-01-2023_091912_649ffda080602_nuBuilder_backup.sql.gzip
Any idea how to solve that ?
Many thanks for your help,

Yves
You do not have the required permissions to view the files attached to this post.
yvesf
Posts: 347
Joined: Sun Mar 14, 2021 8:48 am
Location: Geneva
Has thanked: 94 times
Been thanked: 12 times

Re: nuEditCloseAfterSave Option Allforms and Run object

Unread post by yvesf »

I have found a solution but I think we have to fix this option globally.
Workaround :
Behind each form you want to have this behavior, on the custom tab, add this code below :

Code: Select all

function nuAfterSave() {
	nuGetBreadcrumb(0);
	}
yvesf
Posts: 347
Joined: Sun Mar 14, 2021 8:48 am
Location: Geneva
Has thanked: 94 times
Been thanked: 12 times

Re: nuEditCloseAfterSave Option Allforms and Run object

Unread post by yvesf »

It doesn't solve the bug in the product but it is a good workaround.
Post Reply