Closed (fixed)
Project:
Hide submit button
Version:
6.x-1.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
14 Apr 2009 at 04:37 UTC
Updated:
24 May 2009 at 10:20 UTC
How can i exclude for certain targeting form? cause my site have Shoutbox chat which this module also inject into submit chat button. cause it didn't disappear, when user submit a lot of chat phrases, those icon keep appear and longer.
How can i solve it? My idea is to targeting exclude this chat form.
Comments
Comment #1
optalgin commentedCurrently there is no formal way to exclude from certain form
The only way is to hack the jquery selector in the javascript inside the hide_submit.module file
If you can post the html code generated for the shout-box form I might help with that
I plan to add this kind of feature in the future, I hope I'll have the time to work on it soon
Comment #2
parasolx commentedHere is the HTML code generate for the chat:
Comment #3
optalgin commentedThe HTML code is missing from your post, try to wrap it using the code tag
Comment #4
optalgin commentedI'm looking for a better solution for this
For now you can use this hack
Replace the code in the hide_submit.module file with this
This will disable the hide-submit feature for submit buttons with value "Chat"
I also published a forum topic for this issue
Comment #5
parasolx commentedthanks.. and it works..
sorry for delay updating my post before.
Comment #6
optalgin commentedPlease try the latest 6.x-1.x-dev release
There is a new fieldset called "Advanced"
Make sure the following line is in the "Form-id exclusion list" textarea
Please let me know if it worked as expected
Comment #7
parasolx commentedI have install and test those dev module.. seem work great and i just insert any ID form or target only the submit button based on it value..
work like a charm.. thanks.
Comment #8
optalgin commentedRelease 6.x-1.8 contains configuration options to overcome this conflict
You can exclude the form by form-id.
See Advanced fieldset
note: shout box form is excluded by default