Welcome to the nuBuilder Forums!

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

Custom form control

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
shuray
Posts: 30
Joined: Sun Apr 23, 2023 3:36 pm
Has thanked: 10 times
Been thanked: 5 times

Custom form control

Unread post by shuray »

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.
kev1n
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

Unread post by kev1n »

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.
Post Reply