Closed (fixed)
Project:
Hide submit button
Version:
6.x-1.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Apr 2009 at 20:49 UTC
Updated:
24 May 2009 at 10:20 UTC
Hi
I found that this module interferes with javascript of user name autocomplete (drupal default)
If you, on some page withautocomplete field, typing something to this field, the list of optionaly values is shown under this field.
and if you pressing arrow down to choose something from this list and press enter (for selecting this value into autocomplete field) - then hide_submit will start and hide the submit button.
You can see it here:
http://test7.somvprahe.sk/
just start typing some name (e.g. igor) and then choose something from list by arrow down + enter.
This bug is in firefox and IE 7 too
have a nice day
Igorik
http://www.somvprahe.sk
Comments
Comment #1
igorik commentedI am sorry, the right url is: http://test7.somvprahe.sk/hladaj/slovaci-v-prahe/podla-mena
autocomplete field is on top left.
Comment #2
optalgin commentedOk, I see the conflict
As this is a submit button, currently there is nothing I can do
but as soon as I add an option to manipulate the selectors
It will be possible to disable this specific button
See #397810: Exclude / load javascript only on specific forms
Comment #3
optalgin commentedYou can try the latest 6.x-1.x-dev release
There is a new fieldset called "Advanced"
add the following line into "Form-id exclusion list" textarea
Please let me know if it worked as expected
Comment #4
optalgin commentedA temporary hack, see #432988: Conflicts with shoutbox module
Replace the code in hide-submit.module file
Comment #5
optalgin commentedComment #6
optalgin commentedYou can try the latest 6.x-1.x-dev release
There is a new fieldset called "Advanced"
add the following line into "Form-id exclusion list" textarea
Please let me know if it worked as expected
Comment #7
igorik commentedHi
The idea of form id's is great, but Form-id exclusion list doens't work for me. :(
I need to set the url path into "eceppted urls" in hide_submin admin settings, and then it works.
Tha same problem I have with privatemessage module,
on page http://www.somvprahe.sk/messages/new
where is user autocomplete for recipient name, hide_submit hide do the same problem as i wrote above in this bug.
setting id of the form (what is privatemsg-new) into Form-id exclusion list, doesn't work.
I tried clear cache and it doesn't help/
Currently I need set url path for new private message into forbidden paths in hide_submit admin settings.
Thanks
Comment #8
optalgin commentedI am not sure why form-id doesn't work for you,
make sure you are using _ and not - in the form-id
"privatemsg_new" and not "privatemsg-new"
Comment #9
optalgin commentedRelease 6.x-1.8 contains configuration options to overcome this conflict
You can exclude the form by form-id.
See Advanced fieldset