Hello,
I'm running into an issue with the way Kentico wraps the entirety of a page in a form tag. We have a third party widget that we'd like to add to our site, except that also uses a form tag, which in turn breaks our global search tool. How does one go about solving the nested form issue with Kentico. My guess is I'm not the first feller to run into conflicts with this?
Here is my test page.
https://authoring.carrollu.edu/world-cat
Appreciate the feedback.
Try with closing form tag (</form>) before start your 3rd party search widget and open form tag after 3rd party widget <form> tag.
</form>
<form>
</form> 3rd party widget <form>
@vasu yerramsetti - No luck with that.
This is more .Net issue rather than Kentico. .Net in ASP WebForms does not allow nested FORM tags and there is already main Form tag in the master page. You may need to use iFrame and load the third party widgets code inside the iFrame.
@Juraj Ondrus - Thanks for the feedback. I'm not a big fan of iframes, being that they're not responsive. However, that is a good suggestion in the event we have no other options avail.
There are 2 other options aside from the iframe (which is typically our go to method).
form
Hi Brenden Kehren,
How do you move the element? Is there a place I can see the Javascript code to take an HTML element and place it after the closing form tag?
Thanks
Please, sign in to be able to submit a new answer.