• Resolved mo0no

    (@mo0no)


    I’m having problems to get this running. When i use repeatable fields they don’t pass validation even when they are filled correctly, and there is no red highlighted field.
    All i’m getting is “One or more fields have an error. Please check and try again.”

    my code:

    <div class="container">
      [field_group emails id="emails-groups" tabindex:1]
      <div class="container">
        <div class="row">
          <div class="columns one-fourth">
            <div class="field"><label>Tytu?/stopień naukowy</label>[text title-autor]
              <p class="info-tip"></p>
            </div>
          </div>
          <div class="columns one-fourth offset-six">
            <div class="field"><label></label>[checkbox prezentujacy-autor exclusive "Autor prezentuj?cy"]
              <p class="info-tip"></p>
            </div>
          </div>
        </div>
      </div>
      <div class="container">
        <div class="row">
          <div class="columns one-half">
            <div class="field"><label>Imi?<em>*</em></label>[text* name-autor ]
              <p class="info-tip"></p>
            </div>
          </div>
          <div class="columns one-half">
            <div class="field"><label>Nazwisko<em>*</em></label>[text* surname-autor]
              <p class="info-tip"></p>
            </div>
          </div>
        </div>
      </div>
      <div class="container">
        <div class="row">
          <div class="columns full">
            <div class="field"><label>Adres email<em>*</em></label>[email* email-autor]
              <p class="info-tip"></p>
            </div>
          </div>
        </div>
      </div>
      <div class="container">
        <div class="row">
          <div class="columns full">
            <div class="field"><label>Miejsce pracy (nazwa instytucji, nawa jednostki,  miasto) <em>*</em></label>[text* afiliacja-autor]
              <p class="info-tip"></p>
            </div>
          </div>
        </div>
      </div>
      [/field_group]
    </div>
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Felipe Elia

    (@felipeelia)

    Hi!

    Do you have it set on an online website where I could give a look at it?

    Thanks!

    Thread Starter mo0no

    (@mo0no)

    Thread Starter mo0no

    (@mo0no)

    Plugin Author Felipe Elia

    (@felipeelia)

    The only field that doesn’t seem to be correctly validated is the surname field: https://imgur.com/D71kefW

    Can you share exactly how you’ve set up the entire form? I can see in the code you’ve pasted here the tag [text* surname-autor] but the surname field is using another name (surname1), so I’m assuming you have changed that.

    As it probably will be a long code, please upload it to pastebin.com and share its URL.

    Thanks

    Thread Starter mo0no

    (@mo0no)

    yes, i fiddled a bit.
    whole code

    Plugin Author Felipe Elia

    (@felipeelia)

    Thanks for the link.

    The oddest thing is that the problem just occurs with the Surname field. Did you already try to change it from “surname1” to something that doesn’t end with “name1” (like the other field)? Something like “namelast1” or something like that.

    There is a slight chance that CF7 and this plugin are validating the “name1” as “surname1”, I’d have to research more. If you can, please make that test and let me know how that goes.

    Thread Starter mo0no

    (@mo0no)

    Bingo! works fine now!

    Plugin Author Felipe Elia

    (@felipeelia)

    Excellent! I’ll create an issue about this on GitHub later. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Yet another Validation error’ is closed to new replies.