Writing Effective AI Prompts
FastForms uses AI to generate form schemas from natural language prompts. Follow these best practices to get optimal results:Be Specific and Descriptive
Describe exactly what information you need to collect. Instead of “contact form,” try “contact form with full name, email address, phone number, and message.”
Specify Field Types When Needed
While the AI can infer field types, being explicit helps ensure accuracy:
Form Design Best Practices
Choose the Right Field Types
FastForms supports 9 field types. Select the appropriate type for better user experience:Available Field Types
Available Field Types
| Field Type | Use Case | Example |
|---|---|---|
| text | Short single-line responses | Name, address, job title |
| Email addresses with built-in validation | Contact email, username | |
| textarea | Long-form text responses | Comments, feedback, descriptions |
| number | Numeric values | Age, quantity, price |
| date | Date selection | Birth date, event date, deadline |
| select | Single choice from dropdown | Country, department, category |
| radio | Single choice with visible options | Yes/No, gender, priority level |
| checkbox | Multiple selections allowed | Interests, features, preferences |
| file | File uploads | Documents, images, attachments |
Required Fields Strategy
Mark fields as required based on these criteria:- Critical for processing: Email for contact forms, name for registrations
- Legal requirements: Age verification, terms acceptance
- Essential for service delivery: Shipping address for orders
- Supplementary information
- Marketing preferences
- Additional context
Validation Options
FastForms supports validation constraints at the field level:min/max- For number fields (value range)minLength/maxLength- For text/textarea fields (character count)
Selection Field Requirements
Important: Select, radio, and checkbox fields MUST have options defined. The schema validator will reject forms where these field types lack options.
Response Management Tips
Viewing Responses
Access responses by navigating to your form’s detail page and clicking “View Responses” or going directly to/forms/[formId]/responses.
Each response shows:
- Submission timestamp
- All field values
- Field labels and IDs
Monitoring Form Activity
Best practices for staying on top of responses:- Regular Check-ins: Set a schedule to review responses (daily, weekly, etc.)
- Export Frequently: Download CSV exports to archive responses
- Track Trends: Monitor the response count to gauge form effectiveness
- Quick Identification: Use the submission timestamp to correlate with events
Data Export and Backup Recommendations
FastForms includes CSV export functionality for preserving and analyzing your data.When to Export
Regular Backups
Export responses weekly or monthly as a backup strategy. CSV files are universally compatible and easy to archive.
Before Major Changes
Always export before unpublishing or deleting a form to preserve historical data.
Export Format
CSV exports include:- All response data with field IDs as column headers
- Submission timestamps in ISO format
- Normalized data structure (each response is one row)
- Filename format:
[form-title]-responses.csv
Checkbox fields with multiple selections are exported as comma-separated values within a single cell.
Data Safety Checklist
- ✅ Export responses before unpublishing forms
- ✅ Store CSV backups in a secure location
- ✅ Keep multiple backup versions with dates
- ✅ Test CSV imports in your analysis tool
- ✅ Document field IDs for reference
Form Organization Tips
Field Ordering
Arrange fields in a logical sequence:- Personal Information First: Name, email, contact details
- Primary Questions: The main purpose of your form
- Optional Details: Supplementary information
- Actions Last: Preferences, newsletter signup
Field IDs and Labels
FastForms generates unique field IDs automatically. These IDs:- Must be unique within a form (validated by schema)
- Are used in response data as keys
- Should be descriptive (e.g.,
email_addressnotfield1)
- Keep them clear and concise
- Use sentence case for better readability
- Avoid technical jargon
Placeholder Text
Use placeholders to provide examples or guidance:Performance Optimization
Keep Forms Focused
- Limit field count: Aim for 5-10 fields for better completion rates
- Split long forms: Consider multiple shorter forms instead of one lengthy form
- Remove unnecessary fields: Every field should serve a clear purpose
Form Testing
Before publishing:- Preview your form in the form detail page
- Test all field types function correctly
- Verify validation works as expected
- Check required field indicators display
- Test the complete submission flow
Fields are disabled in preview mode. Publish your form and test it via the public URL (
/f/[slug]) for full functionality testing.