Happy Pixels

Florian Loretan's blog on Drupal, creativity and more

Köln, Germany

Here's a little snippet of jquery code that I wrote during our discussion about client-side form validation at DrupalCamp Germany. It simply adds an "error" class (typically a red border around textfields) when you move away from a required field while leaving it empty. While it's functional, it's probably not the best way to write it, I'm just posting it here for informational purpose.

The year 2009 is starting pretty strong with a lot of events in the Drupal community. The first one for me will be DrupalCamp Germany in Köln this coming week-end, closely followed by DrupalCamp San Diego in a week. DrupalCamp Germany will be the first national Drupal event in the country, and got a lot of attention from being mentioned on Dries Buytaert's blog. DrupalCamp San Diego is also starting its first edition with a nice schedule of presentations and a documentation sprint hosted by add1sun!

Subscribe to Köln, Germany