Hi!
I have several forms with the same set of controls - they are same by look and behavior.
Is there a nuBuilder way to implement such subset as custom control - to develop it once and put to various froms?
Thank you.
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.
Custom form control
-
- nuBuilder Team
- Posts: 4416
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 472 times
- Contact:
Re: Custom form control
Hi,
There is no such feature. However, you could ‘clone’ the objects that are in the zzzzsys_object table.
I.e. assign a new primary key (column zzzzsys_object_id), adjust the form Id (sob_all_zzzzsys_form_id) and also the tab Id (sob_all_zzzzsys_tab_id) accordingly.
Possibly also change sob_all_id, sob_all_table if the underlying table is different.
This could be automated with a PHP procedure. Of course, you would still have to check whether the target form already contains those objects and then just update instead of copying.
There is no such feature. However, you could ‘clone’ the objects that are in the zzzzsys_object table.
I.e. assign a new primary key (column zzzzsys_object_id), adjust the form Id (sob_all_zzzzsys_form_id) and also the tab Id (sob_all_zzzzsys_tab_id) accordingly.
Possibly also change sob_all_id, sob_all_table if the underlying table is different.
This could be automated with a PHP procedure. Of course, you would still have to check whether the target form already contains those objects and then just update instead of copying.