Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

Cloning Subforms

Post Reply
EcoReality
Posts: 26
Joined: Wed Feb 15, 2017 8:50 am
Location: Salt Spring Island, British Columbia, Canada
Contact:

Cloning Subforms

Unread post by EcoReality »

I created a multi-subform survey. It works fine. The primary identifying information has been pre-loaded. But we're getting confused over which surveys have been completed. We can't just use a timestamp field, as sometimes typos and such are corrected without completing the survey.

So I cloned the main form and button, and changed the SQL in each to only show surveys to do or those completed. The original ("Surveys To Do") still works fine, but the clone didn't have anything in it. So I cloned and re-pointed the cloned subforms to the cloned parent form. But now THEY are empty!

Is there a general way to clone and modify a complete form, including all its fields and subforms? Even if that means exporting it and running a global-replace in a text editor?

Thanks!
:::: Jan Steinman EcoReality Co-op ::::
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: Cloning Subforms

Unread post by admin »

Jan,

You could clone the Form and then the Objects one by one.

Steven
EcoReality
Posts: 26
Joined: Wed Feb 15, 2017 8:50 am
Location: Salt Spring Island, British Columbia, Canada
Contact:

Re: Cloning Subforms

Unread post by EcoReality »

Thanks! No big problem, just some tedium... :-)
:::: Jan Steinman EcoReality Co-op ::::
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: Cloning Subforms

Unread post by admin »

.
Post Reply