jrAction_form in modal window like site search (jrElastic)
Design and Skin Customization
you need to make sure you understand what is happening.
"Why would hiding the div affect the action form, if it does not affect the search form?"
You've decided that because the div is hidden that this is the reason the form is not submitting correctly.
If you do the same thing while the div is not hidden does it work then? If it does then the first decision has been proven to be correct and you can then assume that the issue is that the div being hidden is the problem and proceed from there.
Until you KNOW that that is what needs to be done, dont block out other possibilities. If the div is showing does the form submit?
Its just doing that, eliminating possibilities until its all working like you want it to work.
I would not expect that hiding a div would cause it to cause the form submission to fail.