On any form that has an AHAH add more button (like a poll), clicking the enter key on any text field in the form will trigger the AHAH behavior and add a new element.

Steps to reproduce:

1) Enable the poll module and create a new poll.
2) Move to the title field and hit the enter button.
3) A new element will be added to the AHAH add more section.

Hitting the enter key in any other textfield in the form will create the same effect.

Comments

Gábor Hojtsy’s picture

Webchick already has this issue submitted about the upload form and the user autocomplete field being connected this way. Not sure where it is, but this one sounds like exactly the duplicate of that.

catch’s picture

KarenS’s picture

Status: Active » Closed (duplicate)

OK, found her issue at http://drupal.org/node/216059. I'm marking this as a duplicate. Nedjo is here looking at this too and thinks it is nothing to do with autocomplete but instead the AHAH reacting to a form submission.