Answer the question
In order to leave comments, you need to log in
What to return from the service if a captcha is required to continue processing?
What would be the correct
strategy/logic if, for example:
- a certain service checks the incoming data before performing the work
- if the check is satisfactory, the work is performed
- if the check fails, captcha is required Captcha
is initially not required and there is no data in the form
forward() to the captcha controller which will give an answer about the need for captcha, or does this logic need to be implemented in the controller of the service itself?
Answer the question
In order to leave comments, you need to log in
Push the captcha into the validation rules. I don’t know how validation is arranged there, but captcha is a purely validation part.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question