The example file with this workflow is very helpful. However when using the option to loop through the form fields it would be good to have those ordered by SortOrder. How do I do that?
@foreach (var rec in Model.Record.RecordFields) { <div>@rec.Value.Field.Caption</div> <div>@rec.Value.ValuesAsString()</div> }
Getting Form Record Fields in SortOrder
The example file with this workflow is very helpful. However when using the option to loop through the form fields it would be good to have those ordered by SortOrder. How do I do that?
Hey Janet,
Unfortunately I don't have time right now to test this out myself, but possibly this thread has the answer you are looking for:
http://our.umbraco.org/forum/umbraco-pro/contour/32623-Sort-and-iterate-through-form-fields-with-Razor
Please let me know if this works for you. :)
is working on a reply...