To create a sign-up form field with an icon as a clickable link (for example, a "?" icon that links to help text), follow these steps in Webflow:
- Drag a Form Block from the Add Elements panel onto your page.
- Inside the Form, delete extra inputs if needed and keep only the one you want (e.g., Email).
- Select the Input Field, and give it a class (e.g.,
Signup Input
).
- Drag a Div Block into the Form and give it a class like
Input Wrapper
. - Move your input field inside this wrapper.
- Inside the same wrapper, add a Link Block or Text Link, and place your icon (SVG, image, emoji, or font icon) inside it.
3. Style the Wrapper for Layout
- Set the
Input Wrapper
to Flex → Horizontal. - Align items to Center or adjust padding/margins to align vertically.
- Set Input Field to grow (
Flex → Grow if possible
) so it takes up available space. - The Icon Link can have fixed width and margin-left as needed.
4. Make the Icon a Functional Link
- Select the icon link and in the settings panel:
- Use External URL for help documentation (e.g.,
https://example.com/help
) - Or choose Page Section if you’re linking to an explanation on the same page
5. Optional: Add Accessibility and UX Enhancements
- Add alt text or aria-label to the icon for screen readers.
- Use tooltips for hover explanations (you can use Webflow interactions or basic title attributes).
Summary
Wrap the input and icon in a flexbox container, use an icon inside a Link Block for functionality, and adjust styles so the layout looks clean. This keeps your form field interactive with a clickable, helpful icon.