Badges
Accepted Solutions
Likes Received
Posts
Discussions
Ideas
Blog Posts
Here’s a fun one. Open a URL that hosts a Marketo form and change the query string to:?utm_medium=email&utm_campaign=new-years-discount-10% Here’s how your form will look: What the? Let’s check the browser console:⮾️ Uncaught URIError: URI malformed at decodeURIComponent (
If you already pre-flight CSVs before putting them on the wire to the Bulk Import API (/bulk/v1/leads.json), you won’t notice this li’l bug. We recommend at least these two pre-flight checks:ensure the lookup field — email, id, sfdcContactId, etc. — is non-empty in every rowensure field values are c...
OK. That’s not just a Yext form, it’s an entire Yext landing page on www.optimizelocation.com that’s been IFRAMEd into your site. Are you able to add custom JS to that IFRAMEd LP? (For obvious security reasons, you can’t simply detect behavior on a cross-origin IFRAME. You must also have control of...
OK, guess that explains why the code makes no sense! Please understand it’s like asking someone to proofread a block of random words and very frustrating. Without a real developer involved, such tools are just creating more work. Impossible to help further without a link to your form.
@kenmckown please return and check replies.
@juleary324 please return to your thread and check responses.
This code makes the assumption a Yext form uses the standard DOM submit event to submit (that’s the only reason e.preventDefault() would do anything); is there evidence this would actually short-circuit the Yext form submit?also just proceeds to submit the form programmatically without waiting for ...
You’re welcome!
@MariaT again, please return and check for responses.