• Resolved 22grados

    (@22grados)


    Hi,
    We have created a register form with some input fields as required.
    (They have the class ‘wp_crm_required_field’) but if I send the form with the input fields empty the form submits, what it shouldn’t happen.

    Plugin Versión 1.1.6

    Do you have any idea on how to resolve this issue? I tried to add with javascript the propper ‘required’ but the form submits anyway.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Hello.

    Did you mark that field as required in Data tab? Not able to replicate that issue
    https://screencast.com/t/gckZpTeo

    Regards.

    Thread Starter 22grados

    (@22grados)

    The problem is with the input type ‘file’, the other inputs are ok.

    <div class="wp_crm_input_wrap" data-random-hash="41054">
          <input tabindex="6" data-crm-slug="logo" data-random-hash="41054" name="wp_crm[user_data][logo][41054][value]" class="wp_crm_logo_field wp_crm_required_field" type="file" value="">
    </div>

    It has the class ‘wp_crm_required_field’ but I can send the form with this field empty.

    I checked it as required in the plugin backend.

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Thank you for the details. Yes, I see the issue with file upload field. That also happens only when user not logged in. We will add that fix to our next release. As all our products are free we do not provide an estimate.

    Regards.

    Thread Starter 22grados

    (@22grados)

    Thank you very much.
    Good Work!
    I will wait for the next release.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Input type field validator’ is closed to new replies.