• Resolved m1k3w

    (@m1k3w)


    Hi

    i really like the new feature field groups but when i’m trying to use it with conditional logic and enable the field repeater i start to run into limitations

    say i have a group with a select field with options one, two and three

    i’ve set it so when a user selects option two it shows a text field for example

    say i’ve selected option 2 and the text and then clicked on next item

    The second item already shows the text field even though its select field is set to one so shouldn’t be showing

    The rule that shows the text field is going off of the select filed first item instead of going off its own select field in the second item

    i believe that this would be the same scenario if i used radio or checkboxes

    also if i set the first select to one so the text field doesn’t show and then add an item and then select two it doesn’t show the text field

    Look forward to your reply
    Mike

    • This topic was modified 1 year, 11 months ago by m1k3w.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @m1k3w,

    Please share the form page link and an export of the form with us, so that we can check further.

    You can find more info on how to export the form here : https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export

    After exporting, please share the code using a service such as https://pastebin.com which is free to use.

    Please always make sure to use such service to share the code and don’t post the code here directly as it will most likely be unusable.

    Kind regards,
    Zafer

    Thread Starter m1k3w

    (@m1k3w)

    Hi Zafer

    thanks for looking into this for me. I have this in a much larger form but i created a simple version so i could explain it, unfortunately i currently not allowed share the website that its on

    but i can do the export

    https://pastebin.com/mG1nwXcr

    Thanks
    Mike

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @m1k3w,

    Thanks for sharing the export. I’m afraid, what you have noticed is more of a bug. However, I can confirm we have already fixed this in the upcoming release ie v 1.22.1.

    At the moment, I’m afraid there isn’t an exact ETA on when we’ll have the update, however, it’ll be soon.

    Kind Regards,

    Nithin

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @m1k3w,

    We already have version 1.22.1 released. Please do check and let us know if you have any further issues regarding this with the latest update.

     I’ll mark this thread as resolved for now. Please feel free to re-open the thread if you need further assistance.

    Best Regards
    Nithin

    Thread Starter m1k3w

    (@m1k3w)

    Hi

    I was excited to try the fix, it was working but i managed to run into the same or similar bugs

    I was filling in the options for service one and i have a few fields that are conditionally tied to the vehicle type being electric after adding about more than three of these fields it seemed to stop working

    • when clicking on add item any conditional fields in the new item stop working
    • the fields should be hidden but are visible “vehicle type being electric, Can the vehicle be towed and Which axle drives the wheels
    • i have a lot more fields and conditional stuff to add

    can’t share my site but here is a export of the form i was working on

    https://pastebin.com/SHt66mwL

    Thanks in advance, mike

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @m1k3w

    I hope you are doing well.

    I tested the conditionals and I may be missing something but couldn’t see errors on it:

    https://monosnap.com/file/BUqPNucmhxbJOwdthMafXRU1JrUOVo

    https://monosnap.com/file/dpycxSqr9J2cMfS8Yd8QDPZ8NUWU3I

    Let us know if we are missing anything.
    Best Regards
    Patrick Freitas

    Thread Starter m1k3w

    (@m1k3w)

    Hi Patrick

    Thanks for looking into this for me

    i have looked at the videos you have taken and thats working as i had expected it to, so i’m unsure why its not working that way on my site

    I deleted the form and then imported again from the code that i sent you to see if that made a difference but i was seeing the same issue

    I’ll see if disabling other plugins has any affect and then ill get back to you with the outcome

    Thanks mike

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    HI @m1k3w

    Could you try something else too?:

    – check if it’s the same for you with different browsers than you are usually using – in both regular and incognito tabs
    – and if you have any browser extensions/add-ons active, try disabling them and see if that makes a difference

    Best regards,
    Adam

    Thread Starter m1k3w

    (@m1k3w)

    Hi

    I believe i have fixed it, but don’t really know why the fix worked

    I worked out that it was my child theme, and in the folder there was an empty javascript file and a jQuery lib that was no longer in use.

    i had the code in the functions.php but it was commented out so shouldn’t have been affecting anything

    but once i removed the files and mention of it in the functions.php. the forminator form started working as expected

    Thanks for your assistance

    Thread Starter m1k3w

    (@m1k3w)

    The problem came back

    i was working on the form adding questions and updating the form as i went a long after i hit update one time it happened again

    ill try investigate again

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @m1k3w

    This is a bit unexpected.

    I’m assuming that WordPress is up to date on your site but what theme are you using (or is it a custom one) and is it up to date?

    Your “initial fix” that worked for a while suggests that the issue is related in some way to how site (most likely theme) handles/uses jQuery, possibly also to some JS conflicts. It would explain that weird behavior because Forminator makes a heavy use of JS, especially in case of visibility conditions.

    Kind regards,
    Adam

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @m1k3w ,

    We haven’t heard from you for over a week now, so it looks like you no longer need our assistance.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘conditional logic in a group’ is closed to new replies.