Error

Drupal filefield errors on node forms

in drupal, formAPI, filefield, error

For a recent client, I needed a node-add form in a custom path. Unfortunately, loading the form there via code (in order to prepopulate the node object) lead to all sorts of FileField errors, and the solution proved to be extraordinarily simple.

Read more »

Drupal FAPI multistep errors on required fields

in drupal, error, fapi, multistep

One of the great usability features in the Drupal Form API are simple validators, such as #required. Just set it to true, and Drupal takes care of it. However, when in a multistep scenario, simple validators go haywire since moving to a different step validates the form. Normally, you cannot override form errors within your validation hook... but there's a workaround.

Read more »

Drupal, Webmaster tools, and 403 errors after launch

in drupal, Google, error, htaccess

Or why the heck is Google bot refusing to look at my site, when everyone else browses through it just fine

Read more »