These examples show how forms can be automatically discovered and rendered without hardcoding form IDs. The system will find the best matching form based on your criteria.
<SmartContactForm formType="contact" />Automatically finds a form with type "contact"
Discovering form...
<SmartContactForm formName="Demo Request" />Automatically finds a form with "Demo Request" in the name
Discovering form...
<SmartContactForm formType="newsletter" fallbackFormId="fallback-id" />Looks for "newsletter" type, falls back to specific ID if not found
Discovering form...