Hi all,
sometimes I'm feeling quite lost about the form module.
Anyway, my need is to retrieve all field values within all steps of a form.
To do so, I prepared this FTL:

---------------------------------------
<p>Form STATE</p>
[#assign formState = model.formState!]
[#if formState?has_content]
        [#assign steps = formState.steps]
        [#list steps?keys as key]
                [#assign step = steps[key]]
                <p>STEP: ${step.paragraphUuid!""}</p>
                [#assign stepFields = step.fields]
                <ul>
                [#list stepFields?keys as i]
                        [#assign stepField = stepFields[i]]
                        
                        <li>${stepField.name!""} has value of: 
${stepField.value!""}</li>
                
                [/#list]
                </ul>
        [/#list]
[#else]
        <p>FAIL: no form state!</p>
[/#if]
---------------------------------------

and I am able to render all field names with corresponding field values...

...except of groupFields inner fields. They are not present.
What is the correct syntax to retrieve them?
Thanks for all your support.

Matteo



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to