Is there a way to have the variables in a collection refer to the field values in the current repeating section when used in a Custom HTML control?
I'm trying to give users the ability to enter additional form sections as needed, with the content from those sections being used to display in a Custom HTML control, depending on the value of the fields. I have this working to a degree, but am now stuck.
Here's an example of what I'm looking for:
<table><tbody>
<tr>
<td>{/dataset/Collection[i]/MyField}</td>
</tr>
</tbody></table>
In the example, the "i" in the brackets should refer to the index of the current set of fields in the collection.
It seems like there should be a way to accomplish this, but I haven't found it yet.
Thanks for any help you can provide!