Form.value is empty

form

#1

Hey guys,

my page is almost ready to go live and grav was a very fun experience.
But i currenlty have a issue regarding the form.value values.
After i press the submit button I receive a email but the subject and the body are empty, because I use 'Hello {{ form.value.name|e }}' and "{% include 'forms/data.html.twig' %}"’ for the body.

My form is a modular page.

process:

            -
                email:
                    from: '{{ config.plugins.email.from }}'
                    to:
                        - '{{ config.plugins.email.from }}'
                    subject: '[Feedback] {{ form.value.name|e }}'
                    body: '{% include ''forms/data.html.twig'' %}'

and fields

           -
                name: name
                id: name
                classes: left
                placeholder: Name
                autocomplete: 'on'
                type: text
                validate:
                    required: true
            -
                name: email
                id: email
                classes: right
                placeholder: E-Mail-Adresse
                type: email
                validate:
                    rule: email
                    required: true
            -

Thank you in advance and have a nice weekend,
Wlad