forms not working

4 messages Options
Embed this post
Permalink
Jason

forms not working

Reply Threaded More More options
Print post
Permalink
Hi,

I am using shadowbox to open a submission form, the form is hidden on the page until the call to shadowbox.  Live site example is here http://174.123.136.18/reviews/brokers.aspx.  My problem is clicking submit button does not do a thing.  Any ideas what I am doing wrong?

Thanks,
Jason
Wizzud

Re: forms not working

Reply Threaded More More options
Print post
Permalink
What gets shown inside Shadowbox is outside your form .. because it's a copy of the inline HTML.
Also, because it's a copy, an ids within the inline section of code will be duplicated into Shadowbox, thus making them non-unique; and any reference to them will probably pick up the original element, not the one inside the Shadowbox. Any javascript-attached events will also stay with the original code, and not be copied over into Shadowbox.
Combine literacy with curiosity and a whole world of information opens up to you
dha

Re: forms not working

Reply Threaded More More options
Print post
Permalink
So is there a way to solve this issue?
dha

Re: forms not working

Reply Threaded More More options
Print post
Permalink
Got it.

I placed a copy of the shadowbox field into the form (outside the inline-copy-div for shadowbox) and assigned an onkeyup event with myHiddenField.value=this.value to the shadowbox field. It works fine.