• Resolved ioruslan88

    (@ioruslan88)


    https://postimg.cc/gallery/TXPch2r
    Hello, help me figure this out, thanks in advance! There is a checkbox with three items, the user can select either one item or several at once. Selecting the second item (URL) leads to the display of the URL field, selecting the third item (FILE) leads to the display of the FILE field. If you uncheck the URL or FILE item again, then the fields should be hidden again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ioruslan88

    (@ioruslan88)

    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.

    Plugin Support wayes001

    (@wayes001)

    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.

    Thread Starter ioruslan88

    (@ioruslan88)

    Thank you very much! Your answer helped! I hope this question and answer will be useful to other users!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Logic bitform’ is closed to new replies.