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.

"cannot be left blank" not showing

Questions related to using nuBuilder Forte.
Post Reply
Timo
Posts: 221
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: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 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