How to give several labels individual classes?

Hey Guys,

i got several different labels. I was wondering if there is any possibility to give each label a individual ID. I know there are several ways to adress these labels, but i need to give them IDs particulary anyway.

Does nobody have a solution?

I"m not sure I understand your questions, do you want to add an id to a form label on frontend?

Yes, that is exactly what I want to do.

Ah, then it is possible, here is an example

fields:
    - name: name
      label: Name
      id: yourownid
      placeholder: Enter your name
      autocomplete: on
      type: text
      validate:
        required: true

    - name: email
      label: Email
      id: anotherid
      placeholder: Enter your email address
      type: email
      validate:
        required: true
1 Like

Sorry, I was sick the last weeks. That’s it. Thank you!