简体   繁体   中英

powermail validation issue - typo3

Hi I have to show the validation error message when validation fails.But powermail returns an error message Validation failed while trying to call ....createAction(); How to redirect the page when validation fails?

I think you're writing about the serverside validation in powermail. There is nothing special - it's a normal Extbase validation behaviour. This means, that the validators will be checked before createAction() or confirmationAction(). If a validation fails, extbase will redirect the user to the last working action - in this case formAction() - and should show the errors above the rendered form. So your problem is, that the form is rendered again but there are no error messages?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM