• I have created a newsletter signup form with custom styling, and positioning of the submit button absolutely inside of the input field (email field). I have also enabled the acceptance_as_validation: on flag. The moment I click on the accept terms checkbox, before I have added an email address, and before I have attempted to click on the form submit button, I am receiving an error for the empty email field.

    https://ibb.co/KcngsBd

    Is there some mis-configuration on my behalf that I should take care of? Please advise.

    • This topic was modified 1 year, 9 months ago by Konstatninos.
    • This topic was modified 1 year, 9 months ago by Konstatninos.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where can we see the website in question?

    Thread Starter Konstatninos

    (@skredlemon)

    This one is on localhost. Bub I reckon if you spin up a test installation and add this cf7 code below you will be able to replicate it on your end as well.

    <label class="cf__field-label">ΟΝΟΜΑ<span class="cf__required-asterisk">*</span>
        [text* your-name autocomplete:name] </label>
    
    <label class="cf__field-label">EMAIL<span class="cf__required-asterisk">*</span>
        [email* your-email autocomplete:email] </label>
    
    <label class="cf__field-label">ΜΗΝΥΜΑ<span class="cf__required-asterisk">*</span>
        [textarea* textarea-985]</label>
    
    <p class="cf__field-label">Γ.Κ.Π.Δ.<span class="cf__required-asterisk">*</span></p>
    <div class="cf__accepts-terms__container">
    <label class="">[acceptance acceptance-639 id:cf__accepts-terms__checkbox] Συμφων? και επιτρ?πω να επικοινων?σετε μαζ? μου σε αυτ? τα στοιχε?α.</label>
    </div>
    
    [submit "ΑΠΟΣΤΟΛΗ"]

    I have tested this on a brand new localhost installation also, and it behaves like described.

    • This reply was modified 1 year, 9 months ago by Konstatninos.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error thrown when accepting terms first with acceptance_as_validation: on’ is closed to new replies.