I have attached screenshots, they show how I implemented this task, but the plugin does not work correctly. In the Formidable Forms plugin I did exactly the same and it worked correctly there.
Yes, you can achieve this using Conditional Logic in Bit Form. Here’s how you can set it up: Step 1: Hide Fields by Default
- Go to the field settings of both the URL and FILE fields.
- Enable the Hide Field option so they are hidden by default.
Step 2: Add Conditional Logic
You’ll need to create two separate conditions—one for the URL field and one for the FILE field. Condition for URL field:
- Action Run When: Record Create/Edit
- Action Effect: Only One Field Input
- Action Behaviour: Conditions
Logic:
- IF Checkbox contains
URL
- THEN Show
URL field
- ELSE Hide
URL field
Here is the screenshot of the conditional login: https://i.imgur.com/jNGMMnZ.png
Condition for FILE field:
- Action Run When: Record Create/Edit
- Action Effect: Only One Field Input
- Action Behaviour: Conditions
Logic:
- IF Checkbox contains
FILE
- THEN Show
FILE field
- ELSE Hide
FILE field
Here is the screenshot of the conditional login: https://i.imgur.com/LpDV3Wn.png
This way, when the user selects the “URL” or “FILE” checkbox, the respective field will show up, and when they deselect it, the field will be hidden again.
Thank you very much! Your answer helped! I hope this question and answer will be useful to other users!