Re: form elements css changes on errors

2009-05-05 Thread George Song
On 5/4/2009 10:23 AM, joeygartin wrote: > I would like to add a css class to form elements if there is an error > in the form. Not sure the BEST/EASIEST way to do this. I would only > want the attribute added if there was an error and I would like to do > this in the cleanest way possible.

form elements css changes on errors

2009-05-04 Thread joeygartin
Disclaimer: I am new to Django and not the greatest programmer. I would like to add a css class to form elements if there is an error in the form. Not sure the BEST/EASIEST way to do this. I would only want the attribute added if there was an error and I would like to do this in the cleanest