Closed (fixed)
Project:
Webform
Version:
6.x-2.7
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2009 at 12:25 UTC
Updated:
12 Feb 2010 at 00:05 UTC
I have the search-form and a custom Webform-form, both in blocks (in the right sidebar), and the id for the submit button is the same for both: "edit-submit" ... which of course doesn't validate. I have read several comments saying that this is fixed in Drupal 6 and they refer to http://drupal.org/node/111719. But does this node really say that it is fixed in Drupal 6? So why doesn't it work for me using Drupal 6.13? Is it a Webform problem? So, what is the problem? What have I missed? (I have also tried the different phptemplate_submit-fixes presented for Drupal 5, with no success ... just in case.)
Comments
Comment #1
bengt commentedMaybe it was a cache-issue ... now there are numbers in the ids. But only if I use this phptemplate_submit-fix:
But is it this they talk about when they say that it is fixed in Drupal 6? I thought it was a fix in the core...
This issue is not a Webform issue any longer, so maybe it should be closed, but does anyone have any comment on this or can direct me further?
Comment #2
prisonbreaker82 commentedI have the same problem... Any solution?
Comment #3
quicksketchI can't confirm this problem on new versions of Webform and Drupal. As noted, Drupal 6 should prevent this problem because it gives each element a unique ID by adding a counter to elements with the same name.