Thank you. So do I. Everything works apart except on this modular page.
Folder structure of modular page is:
`01.home`
`/_landing-curtain`
`/_blog`
`/_docs`
`/_contact`
`form.fr.md`
`form.ja.md`
`form.en.md`
`/thankyou`
`modular.fr.md`
`modular.ja.md` (header paste above in previous post)
`modular.en.md`
form.html.twig stand from mytheme/modular/form.html.twig [my theme works in inheritance with antimatter 1)mytheme 2)Antimatter]
and is coded:
<div class="modular-row showcase" style="padding-bottom: 8rem;">
{% block content %}
{{ content }}
{% include "forms/form.html.twig" %}
{% endblock %}
</div>
I made a test renaming form to form2 but no change.
All this was working well before update so it's probably related to it.
Also variable langswitcher.current went out of order.
plugin/form/templates/forms/default/form.html.twig is
{% if form.message %}<div class="alert">{{ form.message }}</div>{% endif %}
{% set multipart = '' %}
{% set method = form.method|upper|default('POST') %}
{% for field in form.fields %}
{% if (method == 'POST' and field.type == 'file') %}
{% set multipart = ' enctype="multipart/form-data"' %}
{% endif %}
{% endfor %}
<form name="{{ form.name }}"
action="{{ form.action ? base_url ~ form.action : page.url }}"
method="{{ method }}"{{ multipart }}>
{% for field in form.fields %}
{% set value = form.value(field.name) %}
<div>
{% include "forms/fields/#{field.type}/#{field.type}.html.twig" %}
</div>
{% endfor %}
<div class="buttons">
{% for button in form.buttons %}
<button class="{{ button.classes|default('button') }}" type="{{ button.type|default('submit') }}">{{ button.value|t|default('Submit') }}</button>
{% endfor %}
</div>
{{ nonce_field('form', 'form-nonce') }}
</form>
In output, form name is blank and form action set to /fr/_contact instead of correct.
when reproducing modular form on a blank new page apart, same problem: section and title are output, but not form.
Inspecting shows that form nameis blank and form action set to /fr/modularform/_contact instead of correct.
So modular page are probably problematic
Thanks in advance