Is it possible to use "Mirror Input Values" across pages?

Hey all, just reaching out to see if it’s possible to use “Mirror Input Values” to add an input value across a page. Basically, I want to collect emails on the first page and then the rest on another page.

This is a bit like a multi-step form, I will connect this to an external CRM so that I can give the user a form with low friction and then get the rest of the info added to their CRM record after the fact also.

Thanks in advance for any help given :v:

Hello @Ohana_Studio , sure it’s possible
You would need to add the typed-in email on the 1st page as a query param to the link of the 2nd page. And on the 2nd page, use our query param attribute to populate the email field using the stored email

On the 1st page you will use this custom script

        function saveAndRedirect(pageTwoURL) {
            const emailInput = document.querySelector('[email-field="email"]');
            const emailValue = emailInput.value;
            // Encode the email value to make it URL-safe
            const encodedEmail = encodeURIComponent(emailValue);

            // Redirect to the next page (Step 2) with the email as a query parameter
            window.location.href = `${pageTwoURL}?email=${encodedEmail}`;

        const pageTwoRedirectButton = document.querySelector('[redirect-button="redirect"]');
        pageTwoRedirectButton.addEventListener('click', () => {
               const pageTwoURL = '';

Remember to place the attribute email-field="email" on the email input field, redirect-button="redirect" on the redirect button to page 2 and replace with the actual page 2 URL

1 Like

What a gent! Cheers, I will implement this.

Hey, just bringing this one back around. I am trying to use this with a webhook on make. How can I get this to fire before the webhook sends?

I did a quick ask on chatgpt and it gave me something like this:

But it doesn’t seem to work. I am using logic so send the data to the webhook. Is that prefered? As alway help is always apprecaited.