Files
form-generator/config.toml
T
2025-12-01 19:07:30 +01:00

54 lines
1022 B
TOML

json_output = "answers.json"
submit_button = "Send"
[[fields]]
name = "full_name"
title = "Full Name"
description = "Your full name"
answer_type = "text"
html_before = "<h2>Identity</h2>"
[[fields]]
name = "age"
title = "Age"
description = "Your age"
answer_type = "number"
[[fields]]
name = "email"
title = "Email Address"
description = "Your email address"
answer_type = "email"
html_before = "<h2>Contact Info</h2>"
[[fields]]
name = "contact_number"
title = "Contact Number"
description = "Phone number"
answer_type = "tel"
[[fields]]
name = "website"
title = "Website"
description = "Personal website (optional)"
answer_type = "url"
html_after = "<h2>More About You</h2>"
[[fields]]
name = "about_you"
title = "About You"
description = "Tell us about yourself"
answer_type = "textarea"
[[fields]]
name = "favorite_color"
title = "Favorite Color"
description = "Favorite color (text)"
answer_type = "text"
[[fields]]
name = "password"
title = "Password"
description = "Set a password"
answer_type = "password"