• Hey – So I have made a conditional logic form with contact from 7 and the conditional logic plugin.

    What I have found is that if the user is (for example) 5 questions through the form, and then goes back to change the 3rd answer – the form does not reset from this point, it still shows the pathway result from the 5th response (basically the pathway it shows becomes wrong).

    Is there any way around this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    i will need to see an example to fully understand what you mean. Can you share a link to the form?

    Thread Starter iybi

    (@iybi)

    Sure link is https://bit.ly/2sh4cxw

    So if you go back to change an answer 2 or more questions back, it doesn’t reset the form from that section. Let me know if you need anything further.

    Thread Starter iybi

    (@iybi)

    Hey man – Did you see the problem? – is there any solution for this? – I appreciate any help you can give.

    Plugin Author Jules Colle

    (@jules-colle)

    Hey, sorry for the late reply. I’ve been sick all week, but feeling better now. The plugin is not really designed for branched conditions like this, but I think I could make it work. Could you paste everything you have now? (Form code, conditions and Email)

    please put all code you paste between back ticks `

    this will make it easier for me to copy your code. Thanks!

    Thread Starter iybi

    (@iybi)

    Hey – No problem – Glad you are feeling better!

    Thanks for your help with this:

    FORM:

    
    <div id="dietitian-quiz">
    
    <div class="full-field">
    <h3>What is your main reason for wanting a consultation with a dietitian?</h3>
    
    [select* reason "Choose..." "Weight Loss" "Healthy Eating (improved nutrition, label reading, meal ideas)" "Cholesterol (heart disease, cardiovascular disease, hypertension, blood pressure)" "Diabetes (type 1 diabetes, type 2 diabetes, gestational diabetes)" "PCOS (poly cystic ovarian syndrome)" "Insulin Resistance (glucose intolerance, metabolic syndrome)" "Nutrition for infants, children and teens (paediatric nutrition, fussy eating)" "Eating Disorders (anorexia, bulimia, binge eating disorder, disordered eating, restrictive eating)" "Vegetarian (vegan, plant-based diet)" "IBS (gut problems, tummy upset, abdominal pain, bloating, constipation, diarrhea, Fructose diet, low FODMAPs diet)" "Food Intolerances (FAILSAFE Diet, Food Chemical Intolerances, RPAH Elimination Diet, Eczema, rashes, hives, asthma, headaches, migraines, stomach upset, food allergies, Coeliac Disease, ADHD)" "Mindful Eating (intuitive Eating)" "Gene Testing (nutrigenomics, DNA testing, methylation)" "Weight Loss Surgery (bariatric surgery, sleeve gastrectomy, lapband, gastric band, gastric balloon)"]
    </div>
    [group child-under-14]
    <div class="margin-30 full-field">
    <p>Is the client a child under 14 years old?</p>
    [radio child-under-14 class:yes-no default:0 "Yes" "No"]
    </div>
    [/group]
    [group do-you-have-medicare]
    <div class="margin-30 full-field">
    <p>Do you have a Medicare Care Plan and referral from your GP? (not available for Skype consultations) </p>
    [radio medicare class:yes-no default:0 "Yes" "No"]
    </div>
    [/group]
    [group do-you-have-medicare-2]
    <div class="margin-30 full-field">
    <p>Do you have a Medicare Care Plan and referral from your GP? (not available for Skype consultations) </p>
    [radio medicare-2 class:yes-no default:0 "Yes" "No"]
    </div>
    [/group]
    [group vegan-vegetarian]
    <div class="margin-30 full-field">
    <p>Do you follow a vegan or vegetarian diet?</p>
    [radio veg class:yes-no default:0 "Yes" "No"]
    </div>
    [/group]
    [group skype-or-office]
    <div class="margin-30 full-field">
    <p>Do you prefer a consultation in our Newtown office or via Skype?</p>
    [radio skype class:skype-or-office default:0 "Consultation via Skype" "Consultation at our Newtown Office"]
    </div>
    [/group]
    [group skype-or-office-2]
    <div class="margin-30 full-field">
    <p>Do you prefer a consultation in our Newtown office or via Skype?</p>
    [radio skype-2 class:skype-or-office default:0 "Consultation via Skype" "Consultation at our Newtown Office"]
    </div>
    [/group]
    [group vegan-vegetarian-2]
    <div class="margin-30 full-field">
    <p>Do you follow a vegan or vegetarian diet?</p>
    [radio veg2 class:yes-no default:0 "Yes" "No"]
    </div>
    [/group]
    [group claire-select]
    <div class="margin-30 full-field">
    <h3>Claire Marnane is the right dietitian for you</h3>
    <img src="https://newtownn.managedwp.com.au/wp-content/uploads/2017/06/Claire_DSC7744-small-square.jpg" class="image-circle">
    [button open_new_tab="true" color="accent-color" hover_text_color_override="#fff" size="medium" url="https://my.setmore.com/bookingpage/d4884915-c2fe-436b-82cd-a7b2c1587dd8/resourcebookingpage/rfae61487334078495" text="Make a Booking with Claire" color_override=""]
    </div>
    [/group]
    [group amber-amanda]
    <div class="margin-30 full-field">
    <h3>Amber Sewell-Green or Amanda Moon are the right dietitians for you</h3>
    <img src="https://newtownn.managedwp.com.au/wp-content/uploads/2017/06/Amber_DSC7666-small-square.jpg" class="image-circle">
    [button open_new_tab="true" color="accent-color" hover_text_color_override="#fff" size="medium" url="https://my.setmore.com/bookingpage/d4884915-c2fe-436b-82cd-a7b2c1587dd8/resourcebookingpage/r5f1a1487334020341" text="Make a Booking with Amber" color_override=""]
    <img src="https://newtownn.managedwp.com.au/wp-content/uploads/2017/06/Amanda_DSC7635-small-square.jpg" class="image-circle" style="padding-top:20px">
    [button open_new_tab="true" color="accent-color" hover_text_color_override="#fff" size="medium" url="https://my.setmore.com/bookingpage/d4884915-c2fe-436b-82cd-a7b2c1587dd8/resourcebookingpage/r06ef1432013571623" text="Make a Booking with Amanda" color_override=""]
    </div>
    [/group]
    [group amber-amanda-claire]
    <div class="margin-30 full-field">
    <h3>Amber Sewell-Green, Amanda Moon or Claire Marnane are the right dietitians for you</h3>
    <img src="https://newtownn.managedwp.com.au/wp-content/uploads/2017/06/Amber_DSC7666-small-square.jpg" class="image-circle">
    [button open_new_tab="true" color="accent-color" hover_text_color_override="#fff" size="medium" url="https://my.setmore.com/bookingpage/d4884915-c2fe-436b-82cd-a7b2c1587dd8/resourcebookingpage/r5f1a1487334020341" text="Make a Booking with Amber" color_override=""]
    <img src="https://newtownn.managedwp.com.au/wp-content/uploads/2017/06/Claire_DSC7744-small-square.jpg" class="image-circle" style="padding-top:20px">
    [button open_new_tab="true" color="accent-color" hover_text_color_override="#fff" size="medium" url="https://my.setmore.com/bookingpage/d4884915-c2fe-436b-82cd-a7b2c1587dd8/resourcebookingpage/rfae61487334078495" text="Make a Booking with Claire" color_override=""]
    <img src="https://newtownn.managedwp.com.au/wp-content/uploads/2017/06/Amanda_DSC7635-small-square.jpg" class="image-circle" style="padding-top:20px">
    [button open_new_tab="true" color="accent-color" hover_text_color_override="#fff" size="medium" url="https://my.setmore.com/bookingpage/d4884915-c2fe-436b-82cd-a7b2c1587dd8/resourcebookingpage/r06ef1432013571623" text="Make a Booking with Amanda" color_override=""]
    </div>
    [/group]
    [group ines-select]
    <div class="margin-30 full-field">
    <h3>Ines Astudillo is the right dietitian for you</h3>
    <img src="https://newtownn.managedwp.com.au/wp-content/uploads/2017/06/Ines_DSC7641-small-square.jpg" class="image-circle">
    [button open_new_tab="true" color="accent-color" hover_text_color_override="#fff" size="medium" url="https://my.setmore.com/bookingpage/d4884915-c2fe-436b-82cd-a7b2c1587dd8/resourcebookingpage/r9d2f1432686438288" text="Make a Booking with Ines" color_override=""]
    </div>
    [/group]
    [group amanda-select]
    <div class="margin-30 full-field">
    <h3>Amanda Moon is the right dietitian for you</h3>
    <img src="https://newtownn.managedwp.com.au/wp-content/uploads/2017/06/Amanda_DSC7635-small-square.jpg" class="image-circle">
    [button open_new_tab="true" color="accent-color" hover_text_color_override="#fff" size="medium" url="https://my.setmore.com/bookingpage/d4884915-c2fe-436b-82cd-a7b2c1587dd8/resourcebookingpage/r06ef1432013571623" text="Make a Booking with Amanda" color_override=""]
    </div>
    [/group]
    [group amber-select]
    <div class="margin-30 full-field">
    <h3>Amber Sewell-Green is the right dietitian for you</h3>
    <img src="https://newtownn.managedwp.com.au/wp-content/uploads/2017/06/Amber_DSC7666-small-square.jpg" class="image-circle">
    [button open_new_tab="true" color="accent-color" hover_text_color_override="#fff" size="medium" url="https://my.setmore.com/bookingpage/d4884915-c2fe-436b-82cd-a7b2c1587dd8/resourcebookingpage/r5f1a1487334020341" text="Make a Booking with Amber" color_override=""]
    </div>
    [/group]
    [group amber-amanda-ines]
    <div class="margin-30 full-field">
    <h3>Amber Sewell-Green, Ines Astudillo or Amanda Moon are the right dietitians for you</h3>
    <img src="https://newtownn.managedwp.com.au/wp-content/uploads/2017/06/Amber_DSC7666-small-square.jpg" class="image-circle">
    [button open_new_tab="true" color="accent-color" hover_text_color_override="#fff" size="medium" url="https://my.setmore.com/bookingpage/d4884915-c2fe-436b-82cd-a7b2c1587dd8/resourcebookingpage/r5f1a1487334020341" text="Make a Booking with Amber" color_override=""]
    <img src="https://newtownn.managedwp.com.au/wp-content/uploads/2017/06/Ines_DSC7641-small-square.jpg" class="image-circle" style="padding-top:20px">
    [button open_new_tab="true" color="accent-color" hover_text_color_override="#fff" size="medium" url="https://my.setmore.com/bookingpage/d4884915-c2fe-436b-82cd-a7b2c1587dd8/resourcebookingpage/r9d2f1432686438288" text="Make a Booking with Ines" color_override=""]
    <img src="https://newtownn.managedwp.com.au/wp-content/uploads/2017/06/Amanda_DSC7635-small-square.jpg" class="image-circle" style="padding-top:20px">
    [button open_new_tab="true" color="accent-color" hover_text_color_override="#fff" size="medium" url="https://my.setmore.com/bookingpage/d4884915-c2fe-436b-82cd-a7b2c1587dd8/resourcebookingpage/r06ef1432013571623" text="Make a Booking with Amanda" color_override=""]
    </div>
    [/group]
    </div>
    

    CONDITIONS:

    
    if [skype-2] equals "Consultation at our Newtown Office" then show [amber-amanda]
    if [skype-2] equals "Consultation via Skype" then show [amber-amanda-ines]
    if [medicare-2] equals "No" then show [skype-or-office-2]
    if [medicare-2] equals "Yes" then show [amber-amanda]
    if [reason] equals "Weight Loss Surgery (bariatric surgery, sleeve gastrectomy, lapband, gastric band, gastric balloon)" then show [do-you-have-medicare-2]
    if [reason] equals "Gene Testing (nutrigenomics, DNA testing, methylation)" then show [amanda-select]
    if [reason] equals "Mindful Eating (intuitive Eating)" then show [amanda-select]
    if [reason] equals "Food Intolerances (FAILSAFE Diet, Food Chemical Intolerances, RPAH Elimination Diet, Eczema, rashes, hives, asthma, headaches, migraines, stomach upset, food allergies, Coeliac Disease, ADHD)" then show [amanda-select]
    if [reason] equals "IBS (gut problems, tummy upset, abdominal pain, bloating, constipation, diarrhea, Fructose diet, low FODMAPs diet)" then show [amanda-select]
    if [reason] equals "Vegetarian (vegan, plant-based diet)" then show [amber-select]
    if [reason] equals "Eating Disorders (anorexia, bulimia, binge eating disorder, disordered eating, restrictive eating)" then show [claire-select]
    if [reason] equals "Nutrition for infants, children and teens (paediatric nutrition, fussy eating)" then show [do-you-have-medicare]
    if [reason] equals "Insulin Resistance (glucose intolerance, metabolic syndrome)" then show [vegan-vegetarian-2]
    if [reason] equals "PCOS (poly cystic ovarian syndrome)" then show [vegan-vegetarian-2]
    if [veg2] equals "No" then show [claire-select]
    if [veg2] equals "Yes" then show [amanda-select]
    if [reason] equals "Diabetes (type 1 diabetes, type 2 diabetes, gestational diabetes)" then show [vegan-vegetarian-2]
    if [reason] equals "Cholesterol (heart disease, cardiovascular disease, hypertension, blood pressure)" then show [child-under-14]
    if [reason] equals "Healthy Eating (improved nutrition, label reading, meal ideas)" then show [child-under-14]
    if [skype] equals "Consultation via Skype" then show [ines-select]
    if [skype] equals "Consultation at our Newtown Office" then show [claire-select]
    if [medicare] equals "No" then show [skype-or-office]
    if [veg] equals "No" then show [amber-amanda-claire]
    if [veg] equals "Yes" then show [amber-amanda]
    if [child-under-14] equals "No" then show [vegan-vegetarian]
    if [medicare] equals "Yes" then show [claire-select]
    if [child-under-14] equals "Yes" then show [do-you-have-medicare]
    if [reason] equals "Weight Loss" then show [child-under-14]
    

    Email: [email protected]

    Thanks!

    Hey,
    Unfortunately, I also came across this problem and I was wondering if you guys could share the solution to this problem (a similar one to be exact). Thanks in advance!

    • This reply was modified 7 years, 8 months ago by txzhao.
    Thread Starter iybi

    (@iybi)

    Hey Jules, Just wondering if there was a solution to this at all?

    No worries if not, Just need to know so I can try and look for another solution.

    Thanks either way!

    • This reply was modified 7 years, 7 months ago by iybi.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Conditional Fields not reseting when previous response is changed’ is closed to new replies.