description = "A basic contact form with all field types"
name = "Simple Contact Form"

[[elements]]
name = "name"
placeholder = "John Doe"
prompt = "Your name"
required = true
type = "text"

[[elements]]
name = "email"
placeholder = "john@example.com"
prompt = "Your email"
required = true
type = "text"

[[elements]]
name = "subject"
prompt = "Subject"
required = true
type = "text"

[[elements]]
file_extension = "txt"
name = "message"
prompt = "Your message"
type = "editor"

[[elements]]
name = "priority"
options = [
  { value = "Low", label = "Low Priority - Can wait" },
  { value = "Medium", label = "Medium Priority - Normal schedule" },
  { value = "High", label = "High Priority - Urgent attention" },
  { value = "Urgent", label = "Urgent - Critical issue" },
]
prompt = "Priority level"
required = true
type = "select"

[[elements]]
default = "Bug Report"
display_mode = "grid"
name = "category"
options = [
  { value = "Bug Report", label = "🐛 Bug Report" },
  { value = "Feature Request", label = "✨ Feature Request" },
  { value = "Documentation", label = "📚 Documentation" },
  { value = "Other", label = "❓ Other" },
]
prompt = "Message categories"
searchable = true
type = "multiselect"

[[elements]]
default = "false"
name = "newsletter"
prompt = "Subscribe to updates?"
type = "confirm"
