Support

Home Forums Event Espresso Premium Custom Error

Custom Error

Posted: October 22, 2014 at 2:05 pm


Shelomo Dobkin

October 22, 2014 at 2:05 pm

Hi,

I added custom meta boxes to the add/edit page, I would like to validate those fields and throw an error if there is one. Is there a way to hook into EE error?

http://pastebin.com/au146K9i

Thanks!


Shelomo Dobkin

October 22, 2014 at 7:57 pm

I changed the code so now I see the error message but the event is still being save, is there anyway to prevent that?

http://pastebin.com/9tncWDSF


Sidney Harrell

October 23, 2014 at 11:05 am

I don’t think there is from a function using the particular hook that you are using there. (please use a service like pastebin to make the forums a bit more readable 🙂
You’d probably have to dig a little deeper into the event editor actions. I haven’t looked into that particular code myself.

The support post ‘Custom Error’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso