Badges
Accepted Solutions
Likes Received
Posts
Discussions
Ideas
Blog Posts
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.
Velocity is never supported.Static string {{my.tokens}} aren't really supported because they're not properly JS-escaped, but if you can control their input, they will work. I still don't recommend leaning on them and instead output {{my.tokens}} into HTML
@Diana-Gilman please return to your thread and check responses.
1. Velocity Script ImplementationBased on my understanding, I added the Velocity scripts in the My Tokens section as separate tokens, and then referenced those tokens within the email body.Could you please confirm if this is the correct approach?Yes. 2. Preview Testing BehaviorIs there a way to prev...