Date Field Says Required For No Reason

This topic contains 9 replies, has 4 voices, and was last updated by  Jeff Adams 6 years, 12 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #435987

    Jeff Adams
    Free User
    Post count: 1780

    As demonstrated in this video the custom date field is showing “required” after selecting a date:

    Please let me know if you can resolve this sometime… thanks!

    #436023

    Kor
    Moderator
    Post count: 16516

    Hi Jeff,

    Please share WP temp admin access to your site so we can take a better look. You can post the details here using the private reply option below.

    Thanks!

    #436088

    Jeff Adams
    Free User
    Post count: 1780

    Thanks Kor, I didn’t share sign in credentials because I’m assuming you guys have a test site. Do you have a test site? If so, it’s just a custom field, date field. I don’t think it’s specific to my site.

    #436096

    Jeff Adams
    Free User
    Post count: 1780
    This reply has been marked as private.
    #436098

    Alex Rollin
    Moderator
    Post count: 27815

    Hi,
    on my test site I added a date field and set it required:no and it showed as not required.

    then I went to your site and visited the settings and saw the date field is marked as required.

    So, the date field on the CPT is required because it is set to required:yes in settings.

    Hope that helps.

    #436109

    Jeff Adams
    Free User
    Post count: 1780

    Yes, it is required, I know it is required. I am not asking if it is required.

    As demonstrated and explained in the video, after adding a date the warning is displayed explaining the field is required. This should not be showing. Please watch the video, it is less than a minute.

    When entering the required content there should not be a warning that the content is required. This only renders the end user confused thinking they need to do something when they don’t. And because the warning is in proximity to another field it appears the next field must be required when it is not.

    The warning should not display unless the field is not completed. It should only display after submitting the form if the field has not been completed or if the user clicks into the field and then clicks out of the field without entering information and in the right format. Those are the only times it should show the warning. Right now it is showing the warning when the field has been completely correctly, which is completely wrong.

    #436114

    Alex Rollin
    Moderator
    Post count: 27815

    The field is validated with javascript and so the ‘required’ message is triggered at the same time as the validation, both of which are active on the page.

    I will flag it for the developers to consider as an improvement.

    #436126

    Jeff Adams
    Free User
    Post count: 1780

    Thanks Alex, I’ve used Dreamweaver to create websites and various form plugins, etc… and this definitely is a subtle and odd behavior compared to how other required fields work. Thanks again!

    #439208

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    This is fixed and will be in the next release.

    Thanks,

    Stiofan

    #439209

    Jeff Adams
    Free User
    Post count: 1780

    awesome, thanks guys, you all rock! 🙂

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount