Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I use a function from my functions.php to process a front end post form. I store the errors in the variable $output but need a way to show it on the post form after submit. How can I do that?

share|improve this question
Using ajax? This isn't a very good question. –  Wyck Sep 21 '12 at 16:00
I was just going to show them on submit. If the $outout isn't set to null then the form won't process and I want to show a list of the errors stored in $output. –  Pollux Khafra Sep 21 '12 at 16:45
jQuery AJAX handles errors as well. –  kaiser Sep 21 '12 at 16:58
correct but I have certain validation that I'm not looking to leave open to manipulation from the front end. –  Pollux Khafra Sep 21 '12 at 17:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.