Forum Replies Created

Viewing 8 replies - 31 through 38 (of 38 total)
  • Thread Starter supadigital

    (@supadigital)

    This has been resolved. Thanks so much. Was a CSS issue.

    Thread Starter supadigital

    (@supadigital)

    Hi Jules

    I am in disbelief of my stupidity in this regard. So sorry – your logic makes sense and it works (well it should – i haven’t done it just yet) and I cannot BELIEVE I couldn’t figure this logic out. Very dumb of me.

    I should be fine from hereon in. THANK YOU SO MUCH! I really appreciate the assistance.

    Thread Starter supadigital

    (@supadigital)

    Hi Jules

    I understand how the form works I think. The issue I am having is that I have more than 2 OR statements that apply to a GROUP.

    Here is a link to the test form in question as an example:

    https://winmoney.co.za/all-vouchers/test-page-2/

    The form has 4 separate dropdown lists whose VALUES decide whether or not FUNERAL INSURANCE is displayed or not. I have the following conditions setup:

    show [funeralc] if [your-age] not equals “Under 18”
    show [funeralc] if [sa-citizen] not equals “No, I am not South African”
    show [funeralc] if [are-you-employed] not equals “No, I do not have a job”
    show [funeralc] if [your-income] not equals “Less than R3 500”

    The problem is, if ANY of the above conditions isn’t met, then funeralc must not be displayed. EG:

    if your-age EQUALS “Under 18” then the funeralc must remain hidden regardless of whether or not any of the other conditions are true or not.

    EG 2:

    IF are-you-employed EQUALS “No, I do not have a job”, then funeralc must stay hidden regardless of the other selections.

    How do I achieve this?

    I Hope this clarifies my requirements.

    Really appreciate your time on this. Thanks

    Thread Starter supadigital

    (@supadigital)

    Hi Jules

    Thanks for the feedback once again, much appreciated.

    The problem with the above is the AND statements. My understanding and what I previously experienced when attempting the above, is that if ANY ONE of the conditions you have stated above is NOT TRUE/FALSE, then the group remains hidden.

    What I need to do is:

    SHOW GROUP if:

    VALUE_A not equals X
    OR VALUE_B not equals Y
    OR VALUE C not equals Z

    The plugin does not seem to have an “OR” option, and if I enter these as three separate statements, then the final state of the GROUP is SHOWN if either of the CONDITIONS is TRUE, which is not what needs to happen, because if ANY of the conditions is FALSE then the field must REMAIN HIDDEN. I need to SHOW/HIDE GROUP if ANY condition is TRUE/FALSE.

    I hope this is clear. Please let me know if what I am trying to achieve is possible with this plugin and if so, how I would enter it.

    Thanks again ??

    Thread Starter supadigital

    (@supadigital)

    Thank you so much for this link and for the prompt assistance.

    This perfectly answers my question. Thanks.

    Might I suggest perhaps including the ability to add multiple values in the rule field… Allowing one to simply enter multiple comma-separated values in the single text-box to avoid having to create multiple OR rules.

    So, as i mentioned above, the ability to simply say:

    Show CONDITIONAL-GROUP if FIELD-VALUE equals: X,Y,Z,A,B

    Just a thought. But thanks again for a great plugin and excellent support thereof. Much appreciated.

    *****SOLVED SOLVED SOLVED *********
    Hi

    I discovered this thread as I too am trying to achieve what the original post says, using the same plugins, and I have subsequently used the same code which is also achieving the same result whereby only a single location is displaying.

    I would therefore like to please know if you guys found a solution and if so, if you would mind sharing it with me.

    Many thanks.

    • This reply was modified 2 years, 11 months ago by supadigital.

    Yup. broken. I click save and all entered data is lost.

    Thread Starter supadigital

    (@supadigital)

    @maykato

    Thanks for your response. I had seen the plugin. However I am after a free code snippet or contact form that can grab the cart contents and add them to the form sent to the admin. I don’t require this for anything other than rare international orders, therefore investment in a plugin is not an option.

    Thanks for your feedback though, much appreciated.

Viewing 8 replies - 31 through 38 (of 38 total)