• Resolved moriyonet

    (@moriyonet)


    Hi there guys,

    I wanted to know why the calculator is calculating before all the fields are being inserted. For example in my calculator the final calculation is happening before the required field: “how much would you like to tip” is being checked at all by the user.
    How can I set it so that everything will be chosen by users before final calculation?
    Why the “required”field for of it doesn’t seen to apply?

    Many thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @moriyonet,

    The required fields only affect to the form’s submission action. A form cannot be submitted if the required fields are not filled (similar to the other validation rules)

    There are different alternatives:

    Using conditional operations:

    – Your current equation is:

    (fieldname10*fieldname5)+fieldname10

    Edit it as follows:

    
    IF(AND(fieldname10,fieldname5,fieldname10), (fieldname10*fieldname5)+fieldname10, '')
    

    and similar with the other equations.

    Or you can simply deactivate the dynamic evaluation of the equations, and include a calculate button the user should press to get the results.

    – Untick the checkbox: “Eval dynamically the equations associated to the calculated fields” in the “Form Settings” tab (https://cff.dwbooster.com/images/documentation/form-settings-tab.png)

    – And then, insert a button field in the form, and select as the button’s type the “Calculate” option.

    Best regards.

    Thread Starter moriyonet

    (@moriyonet)

    Oh, I get it now… Many thanks! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Required field does not applu’ is closed to new replies.