Welcome to the nuBuilder Forums!

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

Check fields for an empty value and tell the user the name

Questions related to customising nuBuilder Forte with JavaScript or PHP.
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Check fields for an empty value and tell the user the name

Unread post by kknm »

There are 6 subforms-iframes on the main form.
Is it possible to check the fields for an empty value before saving and tell the user the name of an empty field, is it better to select or move the cursor to an empty field. It is advisable without listing the fields to check, but with fields excluded from the scan.
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: Check fields for an empty value and tell the user the na

Unread post by kknm »

I’ll clarify - you need to show the user the title of an empty field.
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: Check fields for an empty value and tell the user the na

Unread post by kev1n »

Set Validation to "No Blanks"
You do not have the required permissions to view the files attached to this post.
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: Check fields for an empty value and tell the user the na

Unread post by kknm »

Simple as that !!! Thank !
BUT immediately another question - in the translate there is an expression 'cannot be left blank', but it does not translate into Russian.
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: Check fields for an empty value and tell the user the na

Unread post by kev1n »

The latest from Github contains this translation.

cannot be left blank = нельзя оставлять незаполненным

You can also add translations manually if you don't want to update nuBuilder:
You do not have the required permissions to view the files attached to this post.
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: Check fields for an empty value and tell the user the na

Unread post by kknm »

The freshest nuBuilder installed
Translate already contains the expression 'cannot be left blank', but does not translate into Russian.
translate.png
system.png
You do not have the required permissions to view the files attached to this post.
Last edited by kknm on Mon Jun 08, 2020 2:22 pm, edited 1 time in total.
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: Check fields for an empty value and tell the user the na

Unread post by kknm »

kev1n wrote:Try updating nudata.php

https://raw.githubusercontent.com/steve ... nudata.php
Nothing changed after replacing nuData.php, even after rebooting.
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: Check fields for an empty value and tell the user the na

Unread post by kev1n »

It's strange: When using the globeadmin, the translation doesn't work. When logging in with another user, the translation works.
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: Check fields for an empty value and tell the user the na

Unread post by kknm »

Yes, it is. So be it - in principle, not critical ...
Post Reply