Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Inserting values in form display type

Started by Senne Bosmans 6 years ago · 0 replies · 581 views
6 years ago

Hello

I've been having a problem displaying values with the form plugin.

If I send an e-mail, I can include {{ form.value.email }} and it will automatically include the given e-mail in the emailfield. Now I would like to do the same in a type: display field e.g

TWIG
type: display
content: '{{ form.value.field1 + form.value.field2}}'

Is there a way to implement this? Now it just shows as text ({{ form.value.field1 + form.value.field2}}) instead of the actual values (e.g 5 when the values of field1 and 2 are 4 and 1).

Suggested topics

Topic Participants Replies Views Activity
Plugins · by DrPen, 1 month ago
2 478 1 month ago
Plugins · by renedebaaij, 2 months ago
1 351 1 month ago
Plugins · by Thomas, 1 month ago
1 375 1 month ago
Plugins · by complanar, 2 months ago
6 699 2 months ago
Plugins · by BenLaKnet, 2 months ago
1 643 2 months ago