• Resolved budasy

    (@budasy)


    I’m experiencing problems integrating Conditional Field logic into my forms. At present I am up-to-date:

    Wordpress v5.5.2
    Contact Form 7 v5.3
    Smart Grid-Layout v4.4.2
    Contact Form 7 Conditional Fields v1.9.14

    1. Insert a group into the HTML using the HTML editing window
    2. Generate a rule for displaying the conditional fields.
    3. Update

    These steps should save the rule, however the rule is not saved. When I deactivate Smart Grid-Layout I can save the rule.

    Is there a way to get these two plugins to work together?

    I should add that in the front-end the two plugins work together.

    My current work-around is to

    1. generate a form using Smart Grid-Layout and save the form
    2. Deactivate Smart Grid-Layout
    3. Insert Group tags
    4. Set Conditional Rules and save the form
    5. Reactivate Smart Grid-Layout
    • This topic was modified 4 years ago by budasy.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    @okawan reported a similar issue on this thread. I just fixed this on a beta release available on the github repo. Can you manually upgrade your plugin and confirm if it works for you?

    Thread Starter budasy

    (@budasy)

    I’ve forked the code and installed the beta. Unfortunately this problem remains.

    I don’t think I described the problem carefully enough. The [group][/group] shortcodes embedded in the HTML are being saved. I know that the code editor was removing them in some cases but I haven’t noticed that happening in the last few releases. In my usage with current versions the [group][/group] shortcodes are not being removed from the HTML code when saving the form.

    The problem I have been describing above occurs when creating and saving conditional fields rule sets using the input form on the conditional fields tab. I raised the issue here because the input form works without error when the smart grid-layout plugin isn’t active.

    I did notice that the conditional fields rule sets are saved when rule set is in text mode. The rule sets are not saved when rule set input form is active.

    I rolled back to 4.4.2 and found that the rule sets are saved when in text mode there too.

    So, for this issue, the simple work-around is switch the conditional fields rule set view to text mode when saving/updating.

    I’ll post to Conditional Fields as well, as the best solution may be a change to that code.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    The problem I have been describing above occurs when creating and saving conditional fields rule sets using the input form on the conditional fields tab

    got you. My misunderstanding.

    So, for this issue, the simple work-around is switch the conditional fields rule set view to text mode when saving/updating.

    Ineed, the conditional plugin converts input fields to text mode on form submit (save).

    the conditional plugin expects the cf7 form editor (a custom admin.php page). The Smart grid brings the editor back into the WP core ecosystem, and the conditional plugin does not bind the submit event, failing to convert the input into the text mode.

    I replied on the conditional plugin support thread you raised.

    In the mean time, I introduced a small hack to fix this in v4.4.3. Since the author declared the funcions as global, it is possible to access them from the grid sctipts.

    Thread Starter budasy

    (@budasy)

    thank you. I’ll update the plugin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Conditional Fields Rules are not Saved’ is closed to new replies.