Skip to content

Error when I use fields name with array #185

Open
@harispepic

Description

@harispepic

Hi, when I use field name with array I get this error

Bildschirmfoto 2020-01-31 um 09 58 34

This is the code im using:

<div class="form__row">
  <span class="radio form__radio">
    <input id="mrs" class="radio__input" type="radio" name="message[tenant][1][salutation]" value="Frau" required>
    <label class="radio__label" for="mrs">
      Frau
    </label>
  </span>

  <span class="radio form__radio">
    <input id="mr" class="radio__input" type="radio" name="message[tenant][1][salutation]" value="Herr" required>
    <label class="radio__label" for="mr">
      Herr
    </label>
  </span>
</div>

<div class="form__row">
  <div class="form__row">
    <div class="form__input">
      <label for="firstName">Vorname *</label>
      <input id="firstName" type="text" name="message[tenant][1][firstName]" required>
    </div>
    <div class="form__input">
      <label for="lastName">Nachname *</label>
      <input id="lastName" type="text" name="message[tenant][1][lastName]" required>
    </div>
  </div>
</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions