• Resolved erwartet

    (@erwartet)


    Hello,

    I have a calculator in my form that does not follow the conditional logic. I found out that calculated fields shoud come soon for the PRO Version of Conditional Fields. Is there already a release date?

    Or otherwise is the PRO Feature “disable_on_hide” working in the way that a price attached to a radio with default setting will be considered as 0?

    I need a solution for this problem (Code below), that hiding the radio by conditions will not prevent the calculator from sum up the given amount.

    [group group-d2bp-einstufung clear_on_hide] 
     [radio radio-d2bpeinst class:togglebuttons class:egal default:1 use_label_element "Einstufung in Deutsch 2 Basis (Print)--50"]
     [/group]

    Could this be solved in one way or another with the PRO Version?

    Thanks for responding.

    Best regards, Ilonka

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

    (@jules-colle)

    Thread Starter erwartet

    (@erwartet)

    Hello Jules,

    thank you for your reply. Unfortenately all three examples do not match my question. If I have different fields, that are summed up with the calculator, I do not want to add hidden fields to the sum. Maybe I have to add a larger part of the code:

    [radio radio-1 "Deutsch 1 Basis (Print)--1644" "Deutsch 2 Basis (Print)--1648" "Deutsch 3 Basis (Print)--1648" "Deutsch 4 Basis (Print)--1647" "Deutsch 4 Basis (Online)--1314" "Deutsch 5 Basis (Print)--1626" "Deutsch 5 Basis (Online)--1176" "Deutsch 6 Basis (Online)--1176"]
    
    [group group-new clear_on_hide] 
     [radio radio-new class:togglebuttons class:egal default:1 use_label_element "Einstufung in Deutsch 2 Basis (Print)--50"]
     [/group]
    
    [checkbox checkbox-1 class:togglebuttons class:ev default:get default:0 use_label_element "Schülergrundausstattung zubuchen--55" "Schreibschriftkurs zubuchen--0" "Kursmedien abbestellen---37"]
    
    [calculator calculator-528 calculationcf7_Prefix:EUR calculationcf7_Precision:2 "radio-1+radio-new+checkbox-1"]

    In the first paragraph the client decides which course to attend. The second paragraph is in group brackets and only shown if the student will be enrolled for the first time. There is another question previous to ask for it. If the student is enrolled for the first time, the “radio-new” is shown and when clicked, the amount should be added to the sum in the calculator. If not, only radio-1 and checkbox-1 should be summed up.

    I hope this shows clearer, what my problem is. ??

    So I hoped the PRO-Feature “disable_on_hide” could be the answer. Would the radio within group-new be added to the sum, if it would be “disable_on_hide” or not?

    Thank you for taking another look!

    Best regards, Ilonka

    curroperez

    (@curroperez)

    Hello Jules,
    I have a similar problem. A form with several conditional fields that at the end gives us a field with an amount. This amount, by redirection, passes it to a payment gateway to pay it.

    The problem I have is that if I put to the conditional fields of the form “clear_on_hide” it redirects me all the possibilities of payment that are given without discriminating. If I put “disable_on_hide” it gives me a validation error and I can not send the form. “clear_on_hide” does not give validation problem when sending the form.

    As far as I can see “disable_on_hide” is the option that would allow me not to redirect all the fields and send only the one shown in the form.

    What possible error can occur.

    Thank you very much

    • This reply was modified 1 year ago by curroperez.
    Plugin Author Jules Colle

    (@jules-colle)

    @erwartet feel free to create a simple example form https://conditional-fields-cf7.bdwm.be/form-tester/ so I can see if I can make it work the way you want.

    @curroperez I’ll follow up in your other thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘disable on hide/ calculation’ is closed to new replies.