(no subject)


#1

I have a Ajax.autocompleter text field, which is used for selecting
tags/labels. However, as you can have multiple tags/labels, the user (to
enter apple and fruit as tags) would enter ap, and then use the arrow
keys
to select apple and press enter. But as soon as the user presses enter
the
form gets submitted with only the one tag of apple.

Is there anyway of turning of the form submission on pressing of the
enter
key, or would I have to turn the text field into a text area, which
doesn’t
care about enters? If I use some javascript to disable form submission,
wouldn’t it interfere with the Ajax.autocompleter?

Thanks,

Miles