Skip to content

Field.render overrides not working #1117

Discussion options

You must be logged in to vote

Hi @joelstrom,

Sorry about this... we are still making some updates to our documentation. You'll want to check out the Template Overrides documentation for this instead:
https://docs.solspace.com/craft/freeform/v5/templates/formatting/#template-overrides

You have a couple of options now:

At Form level:

https://docs.solspace.com/craft/freeform/v5/templates/formatting/#full-example

{{ freeform.form("myFormHandle", {
    attributes: {
        novalidate: true,
        row: {
            class: "row",
        },
    },
    fields: {
        "@global": {
            attributes: {
                input: { class: "input-class" },
                label: { class: "label-class" },
            },
  …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kjmartens
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1115 on March 06, 2024 15:27.