How to rename multiple contact forms in dawn theme code?

I created multiple different contact forms that I could customize for my different needs, but I can’t figure out how to change the names on each of the forms. Right now they are all called CONTACT FORM and I have to add them all to find the right one I need. How do I change the name of the form in the code so I can identify each of the form types?

(theme: dawn)

1 Like

@knotsandstring

can you just change present name for section that its

I don’t think that changing the section title will help. I copied and pasted the code from the ‘contact-form.liquid’ section, then created a new form, with a new name, and edited the code I needed for each form. The section names are all different, but I don’t know if there is a place in the code that changes the form header.

Hi,

You need to change the section name in schema to show the name in theme editor.

Please change the first name field in schema.

If you have presets, you will need to change the presets name field as below.

"presets": [
    {
      "category": "Contact",
      "name": "Wholesale Contact Form",
      "settings": {},
      "blocks": [
        {}
      ]
    }
  ]

Do not change category field - just change the name field.

Hope it helps.

1 Like