Overview
The wedding website template uses embedded Google Forms for collecting guest information, RSVPs, and other data. This approach provides a simple, reliable way to gather responses without backend infrastructure.Why Google Forms?
Google Forms is the recommended solution because:- No server-side code required
- Automatic data collection in Google Sheets
- Free and reliable
- Easy to customize form fields
- Mobile-friendly
- Automatic email notifications available
Basic Form Page Structure
Form pages follow the inner page structure with an embedded iframe:Google Form Embed Code
The key component is the iframe element:The
width="100%" ensures the form is responsive, while the height should be adjusted based on your form’s length.Creating a Google Form
Create the Form
Go to Google Forms and create a new form with your questions.
Copy the URL
Copy the URL from the iframe src attribute - it should look like:
https://docs.google.com/forms/d/e/FORM_ID/viewform?embedded=trueCommon Form Types
RSVP Form
RSVP Form
Example from the template:Recommended fields for RSVP:
- Full Name (required)
- Email Address (required)
- Phone Number
- Number of Guests
- Dietary Restrictions
- Event Selection (checkboxes for multiple events)
- Special Requests (text area)
Travel & Accommodation Form
Travel & Accommodation Form
Example from the template:Recommended fields for accommodation:
- Full Name
- Contact Information
- Check-in Date
- Check-out Date
- Number of Rooms Needed
- Room Type Preference
- Additional Notes
Performance Sign-up Form
Performance Sign-up Form
Example from the template:Recommended fields:
- Performer Name(s)
- Group or Solo Performance
- Song/Dance Selection
- Performance Duration
- Special Requirements (music, props, etc.)
- Contact Information
Linking to Form Sections
You can link directly to a specific form section using anchor tags:Make sure the section ID in your HTML matches the hash in your link. IDs are case-sensitive and can include spaces.
Form Height Guidelines
Page Structure Best Practices
Single Form Page
For pages with just one form:Multiple Form Page
For pages with multiple forms (like the travel page):Use
<hr /> tags to visually separate different sections on pages with multiple forms or content blocks.Collecting Form Responses
Link to Sheets
Click the green Sheets icon to create a Google Sheet with all responses. This updates automatically as new responses come in.
Set Up Notifications
In your form settings, enable email notifications to get alerts when someone submits a response.
Troubleshooting
Form Not Displaying
Form Not Displaying
Possible causes:
- Incorrect embed URL
- Form sharing settings are too restrictive
- Form has been deleted or moved
- Verify the form URL is correct and includes
/viewform?embedded=true - Check form settings to ensure “Anyone can respond” is enabled
- Test the form URL in a new browser tab
Scrolling Issues
Scrolling Issues
Problem: The form is cut off or shows double scrollbars.Solutions:
- Increase the iframe height
- Ensure
width="100%"is set - Test on mobile devices and adjust height accordingly
- Consider splitting very long forms into multiple shorter forms
Styling Issues
Styling Issues
Problem: The form doesn’t match the site design.Note: Google Forms have limited styling options when embedded. You can:
- Customize the form theme colors in Google Forms to match your site
- Use the “palette” icon in the form editor to change colors
- Add custom CSS around the iframe (not within it)
Alternative: Custom HTML Forms
If you need more design control, you can create custom HTML forms:Best Practices
Keep It Simple
Only ask for essential information. Long forms lead to lower completion rates.
Clear Instructions
Provide context about why you’re collecting information and how it will be used.
Mobile Testing
Always test forms on mobile devices. Most guests will RSVP from their phones.
Confirmation Message
Set up automatic confirmation emails in Google Forms to acknowledge submissions.
Next Steps
Navigation Menu
Add form pages to your navigation
Event Cards
Link to forms from event spotlights
Content Guide
Learn how to write effective form descriptions
