• In Users -> All users -> Edit User

    We have a field called ‘Hire Date’ which should receive a date string in the format m/d/Y

    For some reason when you try to enter a date (for example) 2/4/2022 it throws an error: (Please enter numeric data)

    We have our general settings set correctly so it looks to be a form problem, is there a way to edit this or remove validation?

    I attached the actual element below:

    <input type="text" id="your-profile_wpcfhire-date" name="wpcf[hire-date]" value="2021-03-25" data-wpt-validate="{&quot;number&quot;:{&quot;args&quot;:{&quot;1&quot;:true},&quot;message&quot;:&quot;Please enter numeric data.&quot;}}" data-wpt-field-title="wpcf[hire-date]" data-parsley-type="number" data-parsley-error-message="Please enter numeric data." class="wpt-form-textfield form-textfield textfield js-wpt-validate" data-wpt-type="textfield" data-wpt-id="wpcf-hire-date" data-wpt-name="wpcf[hire-date]">

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Hire date is not a standard default WP user profile field, it has been added via a plugin or your theme. I recommend asking for help in the dedicated support channel of whichever module is responsible for the added field.

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress Dashboard Form (Please enter numeric data)’ is closed to new replies.