disable condition is not working

  • Profile Image
    FTEacadia
    Asked on June 08, 2021 at 01:40 PM

    I have a set of 4 new courses that are to be available only "en direct" which means "LIVE".

    theses 4 :

    HB 7006A Hébreu biblique élémentaire

    TP 5133 Éducation pastorale

    GR 7013 Littérature grecque du NT

    GR 6006A Grammaire grecque du NT I

    But for some reasons, if If I have applied the conditions, only the first course "HB 7006A Hébreu biblique élémentaire" disables "Cours 1

    - Mode de suivi". But not the others.

    See screenshots below. (See my conditions too)1623169032_60bf9808c5527_1623169058_60bf9822f08a6_


  • Profile Image
    Richie_P
    Answered on June 08, 2021 at 01:54 PM

    I have checked your form https://form.jotform.com/211584400338248 and it seems you want to disable the field when selecting the specific option.

    I would suggest adding all the options in a single condition.

    Sample screenshot:

    firefox_6AHhx4ELoQ.png

    Please give it a try and let us know how it goes.

  • Profile Image
    FTEacadia
    Answered on June 08, 2021 at 02:43 PM

    Richie_P, it works, thank you very much.

    I got another problem though. What if the student wants to take only the "cours spécial" (special course). It needs to be counted as a course and be priced on its own.. see screenshot attached.


    At this point, I want to make sure the whole JF support team is aware of my gratitude for its generous patience and proactivity! 1623177692_60bfb9dc02e91_



  • Profile Image
    Jed_C
    Answered on June 08, 2021 at 11:09 PM

    It needs to be counted separately and you can add it to the "Total Price" widget. Please watch my screencast below.

    1623208149_60c030d5961bb_form cal.gif

    Try that and see if that works for you.

  • Profile Image
    FTEacadia
    Answered on June 09, 2021 at 01:07 PM

    Hey Jed. thanks.

    But it seems to have messed up the "Total Price" calculation. Special price is given if they take more than 1 course, so first is at 510, then 900, 1290, 1600, 2030.

    But when I start by clicking on "Cours 1" and choosing one class, it writes down (1) instead of (510) or (900) if two were taken. Then if you click on the "special course ID7000", it will successfully add 100 to the total price.

    See screenshots attached. (I also added a screen of the conditions for "total price" cause the problem might be there. Thank you for your help.

    1623258456_60c0f558ecf87_1623258462_60c0f55e79700_

  • Profile Image
    Billy_G
    Answered on June 09, 2021 at 08:22 PM

    Hi there!

    Upon checking the condition, it appears that the calculation set on "total price" is incorrect.

    Currently, it is set to:

    1623284052_60c159541fc65_

    This equals the number of courses taken(1 to 5) plus the special course price(100). That's not what we want. We want the inserted value(produced by your form's conditional statement) plus the special course price(if selected of course).

    To fix this, replace Number of course with 0 which is a default value. It will be dynamically changed based on the number of selected course(s). Please see the screenshot below:

    1623284422_60c15ac6795b1_

    Once set, here's how the form would work:

    1623284462_60c15aee0dabe_

    Let us know if you need further assistance.

  • Profile Image
    FTEacadia
    Answered on June 10, 2021 at 11:15 AM

    This is exactly what I wanted. Perfect. I was able to make the corrections and it works. I'm very satisfied.

    I've got another question; In September classes might go back to normal and we may have the possibility to welcome students on campus for the courses.

    So I will need to add an option in the column "Cours X : Mode de suivi" called "En présentiel" Which means "on campus".

    Whenever you follow your course "En présentiel" (on-campus), it costs the student 50$ less than "En direct" (live), or "en différé" (Replay).

    What will be the way to subtract 50$ to final cost if "On-campus" is chosen in the "Cours X : Mode de suivi" column.

    Thank you for the help.

  • Profile Image
    Richie_P
    Answered on June 10, 2021 at 01:17 PM

    I would suggest assigning values to your "Cours 1: Mode de suivi" fields.

    If the user selects the option "En présentiel", the value is 50.

    firefox_FAvl7gcF3h.png

    You can then add a form calculation widget to get the values of all your course number.

    firefox_4pym4tUsAz.png

    Lastly, add another form calculation widget as your total final.

    Due to your current calculation conditions, it is not possible to directly deduct the values to the "total final" field.

    You can then use the formula, total final - deduction course.

    firefox_rXY4ltCXgR.png

    Sample output:

    PUUg8fnsWZ.gif

    Sample form:https://form.jotform.com/211604777506962

    Let us know if this fits your requirements.

  • Profile Image
    FTEacadia
    Answered on June 10, 2021 at 02:03 PM

    You are the best.

    I'm grateful for all the help I got from you guys.

    giphy.gif