nuHasBeenSaved

Questions related to using nuBuilder Forte.

nuHasBeenSaved

Postby marc » Wed Jan 09, 2019 3:05 pm

Happy new year to all nuBuilders!

I'm going to try this one again. It's very simple to reproduce.

Step 1: Add a new record to an edit screen,
Step 2: Refresh the form (CTRL+SHIFT+R)

nuHasBeenSaved() outputs 1 to the console instead of 0. This is not correct because the form has not yet been saved.

This is to be placed in the javascript of the form:
Code: Select all
if(nuFormType() == 'edit') {
   console.log(nuHasBeenSaved());
};


I'd be really glad if the behavior could be corrected. I really don't like to go back to Google Forms.
marc
 
Posts: 72
Joined: Mon May 14, 2018 10:56 pm

Re: nuHasBeenSaved

Postby admin » Thu Jan 10, 2019 12:13 pm

marc,

I have put a fix on Github for the nuHasBeenSaved() bug.

Steven
admin
Site Admin
 
Posts: 3024
Joined: Mon Jun 15, 2009 9:53 am

Re: nuHasBeenSaved

Postby marc » Sat Jan 12, 2019 5:56 pm

marc
 
Posts: 72
Joined: Mon May 14, 2018 10:56 pm

Re: nuHasBeenSaved

Postby admin » Mon Jan 14, 2019 12:40 pm

marc,

Sorry I meant to say the latest version of nuBuilder Forte can only be found on Sourceforge.

https://sourceforge.net/projects/nubuilder/

Steven
admin
Site Admin
 
Posts: 3024
Joined: Mon Jun 15, 2009 9:53 am


Return to General