Issue with modular form

Hello! We have a form on a modular page that’s been working great. Yesterday, however it stopped working correctly. This is on a custom theme as well.

I have the follow in the frontmatter:

title: 'Contact Us'
    items: '@self.modular'
        by: default
        dir: asc
menu: Contact
    markdown: true
    twig: true
    action: /contact
    name: contact-page-form
            name: message
            label: Message
            type: textarea
                required: true

            type: submit
            value: Send
            classes: 'large button float-right'
                subject: '{{|e }}'
                body: '{% include ''forms/data.html.twig'' %}'
                fileprefix: contact-
                dateformat: Ymd-His-u
                extension: txt
                body: '{% include ''forms/data.txt.twig'' %}'
            message: 'Thank you for contacting us!'
            display: thankyou

And the following in the (form) frontmatter:

title: 'Contact form'
    markdown: true
    twig: true

I have tried adding

cache_enable: false

to both and one or the other page but this didn’t work either.

Whenever the form is submitted the /contact route showing like normal, but the “display: thankyou” portion does not show and the process doesn’t go (no email, no saved file).

Does anyone have any ideas?

Are you fully up to date with all form updates? You don’t need to put the form in the modular page anymore, you can put it in the modular sub-page where you want the form to display. Check the docs on the subject:

I’ll try this out. I haven’t had much time to tinker with this particular form since posting (replaced it with a third party form as a band-aid). Thanks!