Hello,
my current question.
How can I duplicate a complete form with fields?
If I click Duplicate now, will the form be duplicated without any fields?
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.
Duplicate complete form with fields
-
- Posts: 68
- Joined: Tue Mar 09, 2021 6:45 pm
Re: Duplicate complete form with fields
I found it and tried it, but nothing happened
No new form will appear in the form list
I just want to clone the form, not the database


No new form will appear in the form list
I just want to clone the form, not the database


-
- nuBuilder Team
- Posts: 4305
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
- Contact:
Re: Duplicate complete form with fields
Code: Select all
I just want to clone the form, not the database
All you need to do is
1) EIther untick "Dump SQL Statements" (SQL-Anweisungen ausgeben) to let nuBuilder run the SQL statements.
2) Or if "Dump SQL Statements" is ticked, the output can be verified (or modified if necessary) and then be run in e.g. phpMyAdmin.
Re: Duplicate complete form with fields
Kev1n I think he's talking about making a duplicate of the form itself along with all the fields (objects) that are on the original form? I've tried it myself and I get the form, and the code, but NONE of the objects are getting cloned. Not sure why? I assumed that they would. For example If I go into the properties of a from and I want to clone it so that I can do some testing on that form without having to change the code or fields on the original form, I click the Clone button and change the code and description then save it, I get a copy of the form, along with the custom code but none of the objects copied over. Shouldn't the objects copy over as well?
-
- nuBuilder Team
- Posts: 4305
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
- Contact:
Re: Duplicate complete form with fields
The "Clone" button won't clone the objects on a form. That's why I created the "Cloner" that offers this possibility (and more).icoso wrote: I want to clone it so that I can do some testing on that form without having to change the code or fields on the original form, I click the Clone button and change the code and description then save it, I get a copy of the form, along with the custom code but none of the objects copied over. Shouldn't the objects copy over as well?
You should see these "INSERT INTO zzzzsys_object" statements:
You do not have the required permissions to view the files attached to this post.