WordPress PHP Validate form based on input types

So I’m developing a form for wordpress that needs to validate its submitted fields based on the input type. I’m submitting the fields via an array that is passed to a filter, then using that filter to draw up the HTML required to display the form. The form works, but I have no idea how I would validate the fields in this way. Any suggestions?

Related posts

Leave a Reply

1 comment