I currently have a repeating group that has been set up to enable drag and drop functionality. I have been able to get the drag and drop parts working fine. I have the database set up to hold the sort order and after extensive testing everything is working fine.
My problem lies in the fact that I have a drop down input in the repeating group. This input is set by the user and then has a custom state that is set to the same value selected. The issues that have arisen are that when I drag and drop other text elements in the repeating group the drop down input value gets changed.
I have tried multiple approaches and using custom states is getting me closer to my end result. Essentially I am trying to get the “time”, which is the values of the drop down input, to remain the same after the text elements have been moved around using drag and drop. I would like to basically “lock” the time value to the sort order of the repeating group data fields.
My conclusion is that if I am able to figure a way to set a custom state onto a current cell in the repeating group that I would then be able to save successfully in the database the correct “time” for each data field. I had already attempted to set custom states onto the drag and drop group and the drop area but when saving to the database all data fields have the same time since they are referencing the drag and drop group or drop area last manipulated.
Anybody know how to set a custom state onto a current cell in a repeating group?