Welcome to the nuBuilder Forums!

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

"cannot be left blank" not showing

Questions related to using nuBuilder Forte.
Post Reply
Timo
Posts: 217
Joined: Thu Mar 15, 2018 9:26 pm
Has thanked: 1 time

"cannot be left blank" not showing

Unread post by Timo »

If mandatory fields are not entered, a message is displayed when saving. It looks like this for me.
missing.JPG
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

Using the latest form Github, btw.

Can anyone confirm that?
You do not have the required permissions to view the files attached to this post.
Martin
Posts: 30
Joined: Fri Nov 09, 2018 5:42 pm

Re: "cannot be left blank" not showing

Unread post by Martin »

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.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: "cannot be left blank" not showing

Unread post by admin »

People,

This should now work.

The fix is on Github.


Steven
Martin
Posts: 30
Joined: Fri Nov 09, 2018 5:42 pm

Re: "cannot be left blank" not showing

Unread post by Martin »

admin wrote:People,

This should now work.

The fix is on Github.


Steven

Great! But where can I find the fix?
Post Reply