I can't get this to work because there are effectively two forms nested into eachother.
My masterpage has a <form runat="server"> and the RVContactForm.xslt has it's own <form runat="server"> so it's effectively not working (in Safari and Firefox on Mac - at least). Any idea on how to fix this? I can't remove my <form runat="server"> from the masterpage as I have usercontrols that need it.
Any ideas? I can't be the only one having this problem?
you can remove the one from the RVContactForm.xslt. But will need to make some adjustments as you'll be having multiple submit buttons on your form. Can fix that by setting default buttons. Here's some more info on a possible solution.
Thanks for you quick reply. Dirk. In fact I removed the <form> from the RVContactForm.xslt and did some changes in the .js file to make sure it was referencing the correct form and added the id="ContactForm" to the <div> enclosing the actual form on the page so that it would hide the correct content after posting the form. Seemed to work :-)
just to let you know that i uploaded new version of this package with bug fixes. BTY, if you like this project please vote for it (in the project page at the top right corner).
Nested forms problem
I can't get this to work because there are effectively two forms nested into eachother.
My masterpage has a <form runat="server"> and the RVContactForm.xslt has it's own <form runat="server"> so it's effectively not working (in Safari and Firefox on Mac - at least). Any idea on how to fix this? I can't remove my <form runat="server"> from the masterpage as I have usercontrols that need it.
Any ideas? I can't be the only one having this problem?
you can remove the one from the RVContactForm.xslt. But will need to make some adjustments as you'll be having multiple submit buttons on your form. Can fix that by setting default buttons. Here's some more info on a possible solution.
Cheers,
/Dirk
Thanks for you quick reply. Dirk. In fact I removed the <form> from the RVContactForm.xslt and did some changes in the .js file to make sure it was referencing the correct form and added the id="ContactForm" to the <div> enclosing the actual form on the page so that it would hide the correct content after posting the form. Seemed to work :-)
thanks dirk for the answer and tony, if everything is working fine now, please mark dirk solution as an answer.
thanks,
Eran.
just to let you know that i uploaded new version of this package with bug fixes.
BTY, if you like this project please vote for it (in the project page at the top right corner).
Thanks,
Eran.
is working on a reply...