How do you duplicate a smart multi-row field using edit controls for confiforms?
Asked by Benjamin Rios:

I have created a form which has a date field, a smart multi row field, and a notes field.

I then display the data of this field using a table view which includes the fields listed above as well as an edit controls for confiforms which enables in-line editing and duplication of the schedule.

The issue I am facing is that when I select the "copy" button, it duplicates the schedule to the following day, but it appears that when I change any data within the duplicated smart-multi row, it also changes the stored data of the previous days schedule.

Is there anyway to duplicate a smart multi-row as you "unlink" the stored data?


Answers:
author: Benjamin Rios
body: Hi [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630) has the copy/unlink feature for smart multi rows been implemented?

comments: author: Alex Medved _ConfiForms_
body: Yes, since [version 3.2.1](https://wiki.vertuna.com/display/CONFIFORMS/Release+Notes#ReleaseNotes-Version3.2.1)


author: Benjamin Rios
body: Works perfectly!   

Now...I have an additional question regarding Smart Multi-Rows.  

I am attempting to pass a smart-multi row between one form to another using an IFTTT macro.

To lay it out in more detail I have 1 form called \[questions\] which holds the fields to be used in the smart multi row which are:

<br />

1. Question

2. Correct Answer

3. Test Taker Answer

4. Score

Then I have another form called \[createTest\] which has three fields:  

1. testName

2. testQuestions (smart multi-row using fields from \[questions\] form

3. assignTest

Also has an IFTTT which tracks the \[assignTest\] field and when the field changes it passes all of the fields above to the \[testTaker\] form as a new record.

Lastly I have a form called \[testTaker\] which has the following fields:

1. receivedTestName

2. receivedTestQuestions

3. testID (hidden)

The problem is that when I make an edit to the \[receivedTestQuestions\] values (within the smart multi-row) all values related to this field get changed as well.

Is there any way to unlink this so each time I pass the multi row I am not passing a reference?


author: Alex Medved _ConfiForms_
body: Sounds highly complicated to me... but consider using this to copy data - <https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions+and+rules#ConfiguringConfiFormsIFTTTactionsandrules-CopyConfiFormsData>

Smart fields in ConfiForms are links between forms and records.

PS, Honestly, not sure why the smart multi-row should be used here... but it's probably not my business

Alex


author: Benjamin Rios
body: Thank you for the response [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630) !  

I think...I may have overcomplicated stuff...my bad habit haha.

But as always thank you for your help ?


author: Alex Medved _ConfiForms_
body: Hi [@Benjamin Rios](/t5/user/viewprofilepage/user-id/5009703)

There is no way you can do it now, but we understand that copying a record with a smart multi-row should behave different to what copying of any other "smart field" or actually any other field type does

We will make a change so the "copy" function will work the way you need it from the beginning

Please watch the [marketplace listing for ConfiForms](https://marketplace.atlassian.com/apps/1211860/confiforms-data-forms-workflows-for-confluence?hosting=datacenter&tab=overview) to get your self notified when it's done

Alex

comments: author: Benjamin Rios
body: Understood!  

Thank you for the response [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630) !


Tags: confiforms

table