Hey,
I have employees and companies. I have a form to browse and edit companies information. In this edit form, I added a subform to list all the employees working in this particular company. When the subform returns one or more employees, the form loads without issue. But when the subform is empty (meaning no employee work in this company), the form doesn't load at all (it doesn't show the other objects on it).
When the subform returns one or more employees, all good:
When the subform has no matching row (no employee working in this company), nothing is displayed (not even the other objects which should appear):
How can my form load properly even when a subform returns no row ?
Thanks
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Subform object blocking the loading of a form if empty
-
- Posts: 101
- Joined: Mon Mar 26, 2018 5:57 pm
Subform object blocking the loading of a form if empty
You do not have the required permissions to view the files attached to this post.
Config:
nuBuilder v4 on a dedicated LAMP server:
-Ubuntu 14.04.5 LTS
-Apache 2.4.7
-MySQL 14.14 Distrib 5.7.22
-PHP 5.5.9-1ubuntu4.23
nuBuilder v4 on a dedicated LAMP server:
-Ubuntu 14.04.5 LTS
-Apache 2.4.7
-MySQL 14.14 Distrib 5.7.22
-PHP 5.5.9-1ubuntu4.23
Re: Subform object blocking the loading of a form if empty
marcvander,
I have fixed that now.
You can grab the latest from Github and run Update.
Please let me know if it now works for you.
Steven
I have fixed that now.
You can grab the latest from Github and run Update.
Please let me know if it now works for you.
Steven
-
- Posts: 101
- Joined: Mon Mar 26, 2018 5:57 pm
Re: Subform object blocking the loading of a form if empty
Hey,
thanks a lot
So I download the latest files from GitHub, and replace them on my web server with the old ones ?
And then I run Update on the dashboard to update the mysql database ?
thanks a lot

So I download the latest files from GitHub, and replace them on my web server with the old ones ?
And then I run Update on the dashboard to update the mysql database ?
Config:
nuBuilder v4 on a dedicated LAMP server:
-Ubuntu 14.04.5 LTS
-Apache 2.4.7
-MySQL 14.14 Distrib 5.7.22
-PHP 5.5.9-1ubuntu4.23
nuBuilder v4 on a dedicated LAMP server:
-Ubuntu 14.04.5 LTS
-Apache 2.4.7
-MySQL 14.14 Distrib 5.7.22
-PHP 5.5.9-1ubuntu4.23
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am
-
- Posts: 101
- Joined: Mon Mar 26, 2018 5:57 pm
Re: Subform object blocking the loading of a form if empty
Just did it, and it all works fine. The bug is fixed! Thanks for this reactivity!
Config:
nuBuilder v4 on a dedicated LAMP server:
-Ubuntu 14.04.5 LTS
-Apache 2.4.7
-MySQL 14.14 Distrib 5.7.22
-PHP 5.5.9-1ubuntu4.23
nuBuilder v4 on a dedicated LAMP server:
-Ubuntu 14.04.5 LTS
-Apache 2.4.7
-MySQL 14.14 Distrib 5.7.22
-PHP 5.5.9-1ubuntu4.23