• Resolved hdeniz01

    (@hdeniz01)


    Hello Jules,

    First of all, what a great plugin you have here! Honored+

    Now to my issue; lets say I rent hotelrooms in England

    Then someone can click on:

    Dropdown menu: Hotel or Motel

    When menu is equal to Hotel then show
    One more dropdown menu:
    Hotel in: Londen, Bristol, Bath

    When chosen Londen

    I want to show them the hotels in a dropdown menu
    Lets call them: Hotel A and Hotel B

    So for the administration: I have given answer to:
    Hotel
    Londen
    Hotel A

    but the weird part is, when I make change ‘Hotel’ (in the first menu) to Motel; the 2nd dropdown goes away but the 3rd doesn’t. The reason is because the 2nd menu is still on ‘londen’.

    So it looks like:

    Motel

    Hotel A

    I think its very easy to fix by resetting the value whenever it isnt selected. This makes the other ‘options’ go away.

    I hope you get what I mean. If not I can paste my big ass code here 🙂

    Thank you in advance!

    HDeniz

Viewing 10 replies - 1 through 10 (of 10 total)
  • I am experiencing this issue with checkboxes as well, they don’t get unchecked when their ‘parent’ dropdown is changed so they keep showing their ‘child’-group when they’re not supposed to. Is it possible to un-set a group’s value when hidden?
    Great plugin though, saved me many hours!

    Greets!

    Thread Starter hdeniz01

    (@hdeniz01)

    Exactly! I hope they can fix this! Else I have to figure out a second alternative. 🙂

    Any idea? Is it possible to un-set a group’s value when hidden?

    Plugin Author Jules Colle

    (@jules-colle)

    @hdeniz01 I think this can be fixed by nesting your groups. Something like this:

    [select hotel-or-motel "Hotel" "Motel"]
    [group hotel-group]
      [select hotel-in "London" "Bristol" "..."]
      [group hotel-in-london-group]
        [select london-hotel "Hotel A" "Hotel B" "..."]
      [/group]
      [group hotel-in-bristol-group]
        [select bristol-hotel "Hotel A" "Hotel B" "..."]
      [/group]
    [/group]
    [group motel-group]
      [select motel-in "London" "Bristol" "..."]
      [group motel-in-london-group]
        [select london-motel "Hotel A" "Hotel B" "..."]
      [/group]
      [group motel-in-bristol-group]
        [select bristol-motel "Hotel A" "Hotel B" "..."]
      [/group]
    [/group]

    Then you conditions should be something like this:

    if [hotel-or-motel] equals "Hotel" then show [hotel-group]
    if [hotel-or-motel] equals "Motel" then show [motel-group]
    if [hotel-in] equals "London" then show [hotel-in-london-group]
    if [hotel-in] equals "Bristol" then show [hotel-in-bristol-group]
    if [motel-in] equals "London" then show [motel-in-london-group]
    if [motel-in] equals "Bristol" then show [motel-in-bristol-group]

    Would that do the tick? If I misunderstand, please do paste your big ass code here 🙂

    Thread Starter hdeniz01

    (@hdeniz01)

    Woohoo, yes very simple but yet very good! Having a ‘main’ group for every sub-groups!

    Thanks, working indeed. Do you have skype or something where I can add you?

    Thank you in advance!

    Plugin Author Jules Colle

    (@jules-colle)

    I cannot share email-addresses and contact details on this forum. But you can always try and google me 😉

    I have a little more complicated form:
    http://warta24.pl/ubezpieczenie-na-zycie/warta-dla-ciebie-i-rodziny/

    I have 3 step questions and last is offer image… when customer back to first questions image no hide because hiden volue is still select

    Plugin Author Jules Colle

    (@jules-colle)

    you should nest the image deeper then, this probably means copying it for every case

    I don`t understand how it can solve my problem.

    Simple
    1 step: choice A or B

    2 step
    if A = choice 1 or 2
    if B = choice 3 or 4

    3step
    if 1 result=image1
    if 2 result=image2
    if 3 result=image3
    if 4 result=image4

    Client equals
    step 1 A
    next 1
    = result show image1,
    next he back to step 1 and equals B and 3 = now show image 3 and 1

    Plugin Author Jules Colle

    (@jules-colle)

    I’m cleaning out this forum a bit. If someone still has an unresolved issue about this, please create a new support thread and link to this one.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Reset the form when used for other option’ is closed to new replies.