Support Forum » User Profile

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Validation does not work with rwmb_normalize_field #33904
    Ranadeep GhoseRanadeep Ghose
    Participant

    In your Field Settings page under Customize Field Settings it is mentioned that "This filter exposes the $field settings array for each field and allows customization to all settings."

    Anyways, what I am trying to achieve cannot be done through HTML5 attribute for sure. Here's the case, kindly help me if you can:

    I have used the MB Builder to add a jQuery validation to my username field. It uses the remote parameter to ajax call a function and check if the username already exists before submitting the form. Now this works fine when I am creating a new post.

    But when I try to edit the same post, the existing username is displayed in the field, and the ajax calls returns an error saying the username already exists - because it does.

    So what I need to do is somehow stop the jQuery validation from firing when I am on the edit post page. How can this be achieved? Please understand that I am not using code but MB Builder to create the Meta Box.

    in reply to: How To Add Current Timestamp Column? #33854
    Ranadeep GhoseRanadeep Ghose
    Participant

    Ok. Yes I could make it work that way. Thank you for the support.

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