By Syabab on Thursday, 12 November 2020
Posted in General Issues
Replies 1
Likes 0
Views 540
Votes 0
Hi,

Is there a way to copy a field? I made a checkbox with almost 100 options. I need few more checkbox with same options but cannot copy it. Have to do it manually one by one. Any idea how to do it better? Or maybe copy a database table? Column?

Thanks
Hi Syabab,

Are you trying to create more checkbox items within the same workflow, having the same options? If that's the case, the quickest way is to duplicate the workflow, then modify them from the database.

You can try the following.
1. Save workflow A containing the field with 100 options as copy. Workflow B will be created.
2. Create new checkbox field in workflow A and save, do not create options.
3. Get the id of the new checkbox field in workflow A and the id of duplicated checkbox field in workflow B(attached).
4. In the #__social_field_options table, search for the options from workflow B and change their parent_id value to that of workflow A(id from step 3).
·
Thursday, 12 November 2020 12:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post