🧠 How do I add logic to my form?
Form logic lets you create smart, dynamic forms that react based on user input. With OpnForm, each field can have its own logic rules to show, hide, or change its behavior.
You can trigger four types of actions based on conditions:
✅ Make field required
🚫 Make field optional
👀 Show field (if hidden)
🙈 Hide field (if visible)
✨ How to set up logic for a field:
Open your form editor.
Click the blue gear icon next to the field you want to configure.
In the modal that appears, go to the Logic section.
Set your conditions (e.g. “If answer to Question 1 is Yes”)
Choose the actions you want to trigger.
Save your form.
That’s it! Your form will now respond dynamically based on user input.
❓ FAQ
Why don’t I see the "Show" or "Hide" trigger?
These actions are context-based:
🔒 “Show” will only appear if the field is currently hidden.
👁️ “Hide” will only appear if the field is currently visible.
Make sure the field is in the correct state for the logic option to show up.
🎥 Example: Showing a Hidden Field
Here’s a quick demo using the "Message" input field.
In this example, the "Message" field is initially hidden and only appears when the user selects "A" from a Select field.
📽️ Watch it in action below:
Updated on: 23/07/2025
Thank you!