Title: Input type field validator
Last modified: September 18, 2018

---

# Input type field validator

 *  Resolved [22grados](https://wordpress.org/support/users/22grados/)
 * (@22grados)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/input-type-field-validator/)
 * 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](https://wordpress.org/support/users/mariakravchenko/)
 * (@mariakravchenko)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/input-type-field-validator/#post-10700247)
 * Hello.
 * Did you mark that field as required in Data tab? Not able to replicate that issue
   
   [https://screencast.com/t/gckZpTeo](https://screencast.com/t/gckZpTeo)
 * Regards.
 *  Thread Starter [22grados](https://wordpress.org/support/users/22grados/)
 * (@22grados)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/input-type-field-validator/#post-10702089)
 * 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](https://wordpress.org/support/users/mariakravchenko/)
 * (@mariakravchenko)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/input-type-field-validator/#post-10702956)
 * 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](https://wordpress.org/support/users/22grados/)
 * (@22grados)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/input-type-field-validator/#post-10703057)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-crm_c36510.svg)
 * [WP-CRM - Customer Relations Management for WordPress](https://wordpress.org/plugins/wp-crm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-crm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-crm/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-crm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-crm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-crm/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [22grados](https://wordpress.org/support/users/22grados/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/input-type-field-validator/#post-10703057)
 * Status: resolved