[web2py] Re: show form errors in html form

2017-07-06 Thread icodk
Thanks Antony You have to include code in the view to conditionally show the error > messages when they are present If I use the alternative you mentioned I will have to manipulate the inputs classes because I am using query.payment.js to validate and format some of the fields. If the code

[web2py] Re: show form errors in html form

2017-07-06 Thread Anthony
You have to include code in the view to conditionally show the error messages when they are present. Alternatively, you can use this approach to creating custom form markup: http://web2py.com/books/default/chapter/29/07/forms-and-validators#Custom-forms. Using the form.custom.widget.fieldname