disable condition is not working

  • FTEacadia
    Asked on June 8, 2021 at 1: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  Screenshot 101623169058 60bf9822f08a6  Screenshot 21


  • Richie JotForm Support
    Replied on June 8, 2021 at 1: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 Screenshot 10

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

  • FTEacadia
    Replied on June 8, 2021 at 2: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  Screenshot 10



  • Jed_C
    Replied on June 8, 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 Screenshot 10

    Try that and see if that works for you.

  • FTEacadia
    Replied on June 9, 2021 at 1: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  Screenshot 101623258462 60c0f55e79700  Screenshot 21

  • Billy JotForm Support
    Replied on June 9, 2021 at 8: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  Screenshot 10

    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  Screenshot 21

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

    1623284462 60c15aee0dabe  Screenshot 32

    Let us know if you need further assistance.

  • FTEacadia
    Replied 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.

  • Richie JotForm Support
    Replied on June 10, 2021 at 1: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 Screenshot 10

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

    firefox 4pym4tUsAz Screenshot 21

    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 Screenshot 32

    Sample output:

    PUUg8fnsWZ Screenshot 43

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

    Let us know if this fits your requirements.

  • FTEacadia
    Replied on June 10, 2021 at 2:03 PM

    You are the best.

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

    giphy Screenshot 10