Skip to main content

64. Conditions of Forms

[FORMS] 64. CONDITIONS OF FORMS

This function allows, in a form with «One Answer Question», additionally set a condition for the user's answer (a separate condition for each question in the form).

▪️ Condition is specified by the standard Condition expression, as in any other place.
📄 MANUAL: Conditions:
https://docs.menubuilder.cc/books/5-functions-manuals/page/conditions
📄 MANUAL: Expressions:
https://docs.menubuilder.cc/books/5-functions-manuals/page/expressions
▪️ An additional macros
%answer%
is available for checking, it contains the user's answer. If the condition does not match, the user's answer is not accepted and the system requires to re-enter it.
❗️ In Condition you CANNOT use a macro of a variable that will be overwritten by this form. New data will not be received there until the condition is true.
▪️ You can exit such question either by entering the correct answer, or by canceling the form (if the Cancel button is not disabled).

❗️ One «Token of Functions» is deducted for each condition check. If all tokens are depleted, there will be a 5 seconds delay during verification.
📄 MANUAL: Tokens of Functions:
https://docs.menubuilder.cc/books/8-glossary/page/token-of-functions

📄 MANUAL: Feedback Forms and QnA Chat:
https://docs.menubuilder.cc/books/5-functions-manuals/chapter/feedback-forms-and-qna-chat

To add feature go to your bot:
☞ 🔐Admin | 🧩Extensions | 📂Forms
〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️
👾 For 1 Bot