Jotform is super basic. No settings of that level
I would have to be in these lines:
var isJotForm = (e.origin.indexOf("jotform") > -1) ? true : false;
if(isJotForm && "contentWindow" in iframe && "postMessage" in iframe.contentWindow) {
var urls = {"docurl":encodeURIComponent(document.URL),"referrer":encodeURIComponent(document.referrer)};
iframe.contentWindow.postMessage(JSON.stringify({"type":"urls","value":urls}), "*");
}
I think the best thing to do right now is if you are able to ignore Plasmic, get the integration working in a normal next.js project, and then you should be set
So I should not be using Plasmic hosting?
It depends, but the issue doesn’t look like it matters whether you are using Plasmic hosting or not
or whether you are using Plasmic or not
I just modified the plasmic embed Jotform iframe. Publishing now… I hope this will work
Plasmic in-house hosting is Netlify / Next.js by default right?
or Vercel, yeah