• How can I validate data entered in custom meta fields before saving a custom post type?

    Is jQuery the only way available?

    Simple scenario, a user enters alphabetical characters in a numerical field.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    javascript/jquery is the best to use because the user won’t have to wait until the page will be refreshed to get an notification/error message.

    Thread Starter alfie

    (@drtanz)

    Ok, but is it possible to use server side validation in this case?

    [ Please do not bump, that’s not permitted here. ]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Data validation on custom meta fields’ is closed to new replies.