WordPress.org

Ready to get started?Download WordPress

Forums

Data validation on custom meta fields (3 posts)

  1. drtanz
    Member
    Posted 1 year ago #

    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.

  2. jnhghy
    Member
    Posted 1 year ago #

    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.

  3. drtanz
    Member
    Posted 1 year ago #

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

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.