Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have defined a product and added an attribute (text field, required).
On the product page, if I leave the attribute field empty, and click on 'Add to cart', the field border becomes red (which is ok), but no error message is displayed.
If I click again on 'Add to cart' after having filled the attribute field, I'm correctly redirected to the cart page, but the error message 'fieldname is required' eventually appears.
Note: I searched the forum and found a similar problem http://drupal.org/node/803784 that has been solved, don't know if it can be of any help...
Comments
Comment #1
TR CreditAttribution: TR commentedThis seems to be a problem with the Bartik theme, which is the default theme for Drupal 7. It operates properly it you switch to Garland. Let me investigate further, this may already be a known problem with Bartik. If not, I'll add some information and move the problem over there.
Comment #2
zezile CreditAttribution: zezile commentedI am using the Busy theme.
I switched to Garland but I got the very same problem. and with Bartik too.
Comment #3
MPeli CreditAttribution: MPeli commentedI am using http://drupal.org/project/zen and I am having the same problem. Martin.
Comment #4
longwaveCalling drupal_get_form() inside a theme function causes the form to be processed too late for the errors to be shown. Fix committed: http://drupalcode.org/project/ubercart.git/commit/1b93199