description = "Simple user registration form"
name = "user_registration"

[[fields]]
name = "username"
placeholder = "john_doe"
prompt = "Enter username"
type = "text"

[[fields]]
name = "email"
placeholder = "user@example.com"
prompt = "Enter email"
type = "text"

[[fields]]
name = "password"
prompt = "Enter password"
type = "password"

[[fields]]
name = "confirm_password"
prompt = "Confirm password"
type = "password"

[[fields]]
default = "false"
name = "agree_terms"
prompt = "Do you agree to the terms and conditions?"
type = "confirm"

[[fields]]
default = "true"
name = "newsletter"
prompt = "Subscribe to our newsletter?"
type = "confirm"

[[fields]]
name = "role"
options = [
  { value = "Admin", label = "👑 Administrator" },
  { value = "User", label = "👤 Regular User" },
  { value = "Guest", label = "👁️ Guest" },
]
prompt = "Select your role"
type = "select"

[[fields]]
name = "interests"
options = [
  { value = "Technology", label = "💻 Technology" },
  { value = "Design", label = "🎨 Design" },
  { value = "Business", label = "💼 Business" },
  { value = "Marketing", label = "📢 Marketing" },
]
prompt = "Select your interests"
type = "multiselect"
