Files
flexly-cms/examples/studio-site/forms/consultation.yaml
T
2026-11-09 15:32:41 +03:00

13 lines
555 B
YAML

id: consultation
title: Заявка на разговор
fields:
- {key: name, type: text, label: Имя, required: true}
- {key: contact, type: text, label: Telegram или телефон, required: true}
- {key: task, type: textarea, label: Расскажите о задаче, hint: Свободная форма, ТЗ не нужно}
- {key: consent, type: consent, policy: privacy}
success: {page: contacts}
notify:
- {kind: telegram, chat: '${TG_CHAT_ID}'}
antispam: {honeypot: true, rate_limit: '5/hour'}
store: {retention_days: 365}