To mirror user input from a Webflow form field to a non-form text element in real time, you need a small JavaScript snippet added to your project.
userInput
.mirroredText
.Go to Page Settings of the page where the form is located.
Scroll to Before
tag section.
Add this JavaScript:
Replace the IDs if you used different names.
```
```
Add unique IDs to both the input and display elements and use a short JavaScript snippet to listen for input events and update the mirrored text. This enables real-time syncing of user input with any non-form text element on the page.