Feb 17th, 2015, 1:45 PM
Hi
In many of the hooks, there are variables for $success and $message.
As far as I can work out, these are used for the message panel presented to users at the top of Formtools screens.
Are there any guidelines for these variables for writers of hooks please? For example, if I set $success to false would this have the effect of exiting core formtools code? Or does it simply set the colour of the message panel to red?
I would like to display 'error' messages to users when they have down something... err...questionable but would not want to exit the core php or cancel following hook calls?
As always any help appreciated.
In many of the hooks, there are variables for $success and $message.
As far as I can work out, these are used for the message panel presented to users at the top of Formtools screens.
Are there any guidelines for these variables for writers of hooks please? For example, if I set $success to false would this have the effect of exiting core formtools code? Or does it simply set the colour of the message panel to red?
I would like to display 'error' messages to users when they have down something... err...questionable but would not want to exit the core php or cancel following hook calls?
As always any help appreciated.