I'm using the Forms for editors module. After submitting a form i want to display the data on a confirmation page in a custom design. In order to do so, i need to control where to display field values according to the design.
I would have thought that it would be possible to do something like this:
<!--@LoopStart(Form.Submits)-->
<p>Dream senario: |<!--@Form.Submits.Field.Weight.Value-->| </p>
<!--@LoopEnd(Form.Submits)-->
But it seems that this is not the case. To get the value from a specific field i have to do this:
<!--@LoopStart(Form.Submits)-->
<!--@LoopStart(FieldValues)-->
<!--@If(Field.SystemName=='Weight')-->
<p>Reality: |<!--@SubmitData.Value-->|</p>
<!--@EndIf-->
<!--@LoopEnd(FieldValues)-->
<!--@LoopEnd(Form.Submits)-->
Obviously this is far from ideal. Does anyone have any experience or suggestions how to optimize this?