If equal to 'flash' (default) and the form is accepted it will flash the above message_onsuccess.
If equal to 'flash' (default) and the form fails validation, it will flash the above message_onfailure.
next indicates where to redirect the user after the form is accepted.
" web2py Book Chapter 7: Forms and Validatators" is licensed under Creative Common License BY-NC-ND 3.0