Solving for Locked/Unlocked Content on a form fill
We are currently trying to solve for how we can have a Marketo form work to redirect a known visitor who has submitted a previous form on an OD event page, to the same follow up page, but with the content unlocked (as it's a week long online event).
The idea is that once someone has already registered for the event, they do not have to keep re-registering to access the previously locked content on that hosted follow up page. Working with my web team, we were hoping to have something like this happen based on what we've been able to make work so far:
- User views the registration or ty page, and if it's a known visitor they'll actually be shown a secondary version (we'll call this the unlock form) of the main registration form (we'll call this the reg form) just asking for their email address, with a secondary "I still need to register" link option on the bottom. That link actually takes them to the normal reg form / reg page. (we've solved for this part with the email form being called on in the "if known visitor, show: custom HTML" portion of the reg form… so a form within a form, essentially).
- If user has previously registered, they submit their email address which takes them to the unlocked version of the content page.
- If they have not registered, they submit their email and get redirected to the main reg form with a note there that says essentially “nope, not found, register here, etc.” (message handled by our web team, not the form)
- The idea is the unlock form contains an email field and a plain text field that gets populated via form prefill with either a hidden field value (cookied or default value) assigned on the reg form when the original registration gets submitted, or even a workflow that assigns the field value upon original submission. Open to whatever here. We are using Optimizely to hide that plain text field to the person submitting. And when submitted, Marketo does this on the backend under the redirect settings:
- If 'text field' is 'registered', redirects them to /url/register-ty/
- Default redirects them to /url/registration-not-found/
- The website code has a listener function for when the Marketo form is filled out. When the form is successful submitted, it will look for whether the redirect url has "register-ty" or ‘registration-not-found”, and unlock the content if the former.
The issue I’m having is that I cannot get the form prefill function to work and that assigned value set at registration to populate, therefore I can’t get the redirect on the backend to happen.
We use the ‘form within a form’ set up with our progressive profiling process all over our site and it works fine. But for whatever reason the value will not pull up in this scenario.
Any suggestions would be appreciated if you’ve solved for something like this!