By meiophylly on
I recently started maintaining a Drupal installation, and I don't have much past experience with Drupal. So far things are going more-or-less smoothly, but I've run into a problem with the Webform module. Namely, when I mark certain fields as required and then test the form, the form does get kicked back to me...but without any error messages indicating why. I assume that it normally would tell you to fill in the required fields—am I right?
I also have tried using the additional validation, and form_set_error() doesn't seem to do anything either.
This site is using a custom template, which might be the source of the problem, but I'm not sure.
Where should I start looking? :)
Comments
I've done some more digging,
I've done some more digging, and oddly enough, the $messages variable (which would normally handle errors (http://tips.webdesign10.com/how-to-make-a-drupal-theme) isn't even being set. What would prevent it from being set, in a form with required fields?
I'm not sure what the exact
I'm not sure what the exact issue was, but reinstalling the Webform module seems to have fixed the problem. (Either the module was out of date, or somehow got corrupted.) Anyway, it works now!