Field validation
-
Hi,
For the whole day today I’ve been hard at work getting to know your framework and creating an admin page I needed. The thing is that for the last few hours I’ve been stuck at field validation.
On your site it sais that the documentation on the topic is still under way and so everything I could find was the function validation_APF_Demo_verification_verify_text_field() from the Demo.
My question is, are there any out of the box validation methods, like ‘no_html’, “only alpanumeric”, “url” , etc. that can be set while adding Settings Fields?
If not, than are there any ways to use the above mentioned validation_ function to validate more than one field? Some of my fields need identical validation and writing the same thing 7 times is not the best thing ever.
Please, point me in the right direction.
Have a nice day,
Chris
- The topic ‘Field validation’ is closed to new replies.