Displaying Errors
Hi,
I’m currently writing an extension for a client project that requires a heavily modified member registration system - So far so good.
As the registration criteria for this project is somewhat different to the EE defaults, I need to to validate the input and check for required fields - no problem.
My question is, how would I go about raising / displaying a (validation) error through EE?
I’m looking for something along the lines of
display_error("error message here");
But can’t seem to find anything in the documentation.
Thanks in advance.
M
– edited to add “Display Errors” to top of post to aid searching (as search doesn’t search titles!) –
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.