views:

25

answers:

1

Hi everyone,

I am trying to build a form in WordPress and taking advantage of all its built-in functions but I am hard pressed to find any functions that do form validation. I figure those kinds of functions have to exist in WordPress but I couldn't find any because its documentation is sparse and spread out in some respects. Would anyone have any useful links to documentation and tutorials by any chance?

+1  A: 

There are 1001 plugins that support contact form validation if that's what your after:

WordPress Plugins Search

I don't believe the WordPress code base has any exposed validation functions though. What are you trying to validate? Addresses/emails?

Alex Mcp
I'm trying to build a small plugin and I was wondering if WordPress had any of their own php-based (not javascript or ajax) field validation functions much like in other php frameworks such as Codeigniter and CakePHP. Maybe I'm expecting WP to work too much like a PHP framework but I had to ask. Thanks for your response.
I don't think WordPress has any documented API validation functions either after hours of searching. Thanks for the response nevertheless.