Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
364 views
in Plugins by
I am using q2a filter modul on answer form. Is it possible to ignore  the filter when i catch an error inside the filter ? if yes how to do it ?

Thank you

1 Answer

0 votes
by
I don't understand your question 100% but as soon as you detect the error, try setting it and return null. Then no further filtering should be processed as far as I know.

Please see also http://www.question2answer.org/modules.php?module=filter
by
Thank you q2apro ! what i wanted to do is : in case of an error inside filter_answer() this function will be ignored. The reason for that is that i don't want to block the process of posting an answer if the value of the filter_answer() turns to be wrong. Is returning null makes that happen ? Thank you
...