Use beforeSave() for validation and display error message
Xiaofeng Liu <[email protected]>
| Newsgroups | gmane.comp.cms.farcry.devel |
|---|---|
| Message-ID | <CACTOi_MmcPWrWXu4VyfjOcorjdZb-L2ZbYt9sKzGCRxQ0BXUsQ@mail.gmail.com> |
Hi, Within webtop on a custom type, if I'd like to use beforeSave() to check, for example the uniqueness of username before my type record gets saved, how do I bring back that validation message to display on the farcry scaffolded list view or maybe the add/edit view? -- Best regards, Xiaofeng -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: farcry-dev-/[email protected] To unsubscribe, email: farcry-dev+unsubscribe-/[email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry --- You received this message because you are subscribed to the Google Groups "farcry-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] For more options, visit https://groups.google.com/groups/opt_out.