Creating a 2-page sign-up form in Webflow requires careful handling of data and user interaction elements. Here's a step-by-step guide to achieve this.
1. Set Up the Form Pages
- Create the First Page: Design your first form page in Webflow, adding fields like name, email, etc.
- Create the Second Page: Add a new page for additional form details or complete the process.
2. Pass Data Between Pages
- Form Configuration: Ensure fields from the first page can pass data to the next.
- Custom Code: Utilize Webflow’s custom code embed feature to use JavaScript or data attributes to store and pass data between pages.
3. Add a Custom Waiting Text
- Next Page Button: On the first page, add a “Next” button with a custom pre-configured interaction.
- Interaction Setup: Use Webflow interactions to change button text to “Please wait…” after it is clicked, indicating a submission or loading transition.
4. Implement a Pause on 'Next Page' Button
- Interactions Panel: Use Webflow’s interactions to introduce a delay.
- Timers: Set a pause effect that ensures the “Next” button shows the waiting text for a predefined period before navigating.
5. Basic Validation for Email and Phone Number
- Form Input Settings: Use Webflow’s native input validation settings for fields.
- Custom Attributes: For extended validation, apply custom attributes like pattern for Regex validation (e.g., email:
input[type="email"] and phone pattern="^\d{10}$").
6. Utilize the Form Success Message
- Success Message Setup: Use Webflow’s built-in success message visible upon form submission.
- Customize Message: Modify the text and design to communicate with the user that their form has been successfully submitted.
Summary
In summary, to create a 2-page sign-up form in Webflow, you must set up separate form pages and implement techniques to handle data across them. Ensure user engagement with custom waiting texts and validation checks, using interactions to manage timing and transitions. Finally, utilize Webflow’s form success message for feedback.