[development] AHAH with fieldsets not rebuilding correctly

Andrew Berry andrewberry at sentex.net
Sat Feb 19 15:21:39 UTC 2011

On 2011-02-19, at 10:00 AM, Jeff Hartman wrote:

> Getting ahah to work in general is not the problem. I have it working on one form as I mentioned. The problem form has the values within a fieldset and the fields with updated data are generating new fields instead of replacing the existing values. It may not be the fieldset that is the problem, but I'm supposing it is because that's the main difference between the forms.

Are you missing '#tree' on the fieldset element? Or, consider putting it at the top level of your form.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2488 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/development/attachments/20110219/16600e23/attachment.bin 

More information about the development mailing list