Clone of form doesn't copy Custom Code pieces?

Questions related to using nuBuilder Forte.

Clone of form doesn't copy Custom Code pieces?

Postby n9yty » Wed Oct 21, 2020 2:53 pm

This may be by design, but if not I thought I'd point out that cloning a form doesn't bring over the custom code pieces like BeforeBrowse. Pity. :( But I just copy and paste it elsewhere, clone, save, then paste it back in.
n9yty
 
Posts: 39
Joined: Fri Oct 16, 2020 4:13 am

Re: Clone of form doesn't copy Custom Code pieces?

Postby n9yty » Wed Oct 21, 2020 2:59 pm

Also, it is not cloning form objects.
n9yty
 
Posts: 39
Joined: Fri Oct 16, 2020 4:13 am

Re: Clone of form doesn't copy Custom Code pieces?

Postby kev1n » Wed Oct 21, 2020 3:23 pm

That's by design. Not implemented (yet)

But I've created a function that will copy all objects from one form to another, together with the php codes and events. If anyone wants to help testing, just ask.
If you like nuBuilder, please leave a review on SourceForge

nuBuilder Code Library (82)
Installation Guides
Updating nuBuilder

Join Discord to talk about nuBuilder!
kev1n
 
Posts: 1084
Joined: Mon Oct 15, 2018 2:13 am


Return to General