"cannot be left blank" not showing

Questions related to using nuBuilder Forte.

"cannot be left blank" not showing

Postby Timo » Sat Jan 05, 2019 7:22 pm

If mandatory fields are not entered, a message is displayed when saving. It looks like this for me.

missing.JPG
missing.JPG (11.03 KiB) Viewed 333 times


Note that there is no "cannot be left blank" text in the message. I found out this is due to the nuTranslate PHP function that was added a few months ago.

nuTranslate always returns an empty string.

Test:

$l = nuTranslate('Time Zone');
nuDebug("translate:".$l);

debug.PNG
debug.PNG (9.48 KiB) Viewed 333 times



Using the latest form Github, btw.

Can anyone confirm that?
Timo
 
Posts: 182
Joined: Fri Mar 16, 2018 5:56 am

Re: "cannot be left blank" not showing

Postby Martin » Wed Jan 09, 2019 2:53 pm

Yes, I can confirm that, it has been bothering me for a long time, but I haven't reported it yet.
Strangely enough, the message is displayed correctly when nuBuilder is used as Wordpress Plugin, but not as a standalone app.
Martin
 
Posts: 20
Joined: Sat Nov 10, 2018 2:12 am

Re: "cannot be left blank" not showing

Postby admin » Thu Jan 10, 2019 11:13 am

People,

This should now work.

The fix is on Github.


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

Re: "cannot be left blank" not showing

Postby Martin » Fri Jan 11, 2019 2:22 pm

admin wrote:People,

This should now work.

The fix is on Github.


Steven



Great! But where can I find the fix?
Martin
 
Posts: 20
Joined: Sat Nov 10, 2018 2:12 am


Return to General



cron