• lukasishere

    (@lukasishere)


    Hi again,

    I’ve just spoted a weird bug. I have validated fields (regex and required methods) in my form (admin panel). Weird thing happens once the entered value doesn’t validate (it is not as regex expects, or it’s not set [for required]). Apparantely if this field returns error, every date field in my form looses its value (even the add date and edit date). Problem is that once you repair it (you enter the correct value in to the validated field) the add date and edit date returns (kinda obvious :D) but the form’s date fields don’t. I think it happens for every kind of validation, but I didn’t test it much ??
    Probably something is wrong with the validation controller (or however they call it in WP ?? ). It return error too fast or something like that ??

    Best regards
    Lukas

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Validation bug’ is closed to new replies.