• Resolved helppawz1

    (@helppawz1)


    I have a problem with a calculated field in my form (total membership cost). It uses values from 3 other fields (one radio, one checkbox, and one number). On the form itself the field appears to calculate correctly (it shows the correct total), but when it is submitted, the values from the radio and checkbox aren’t added so the total is the value of just the number field calculation.

    The formula is ({radio-2}) + ({checkbox-2}) + ((({number-3}+1)*5)-5)

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @helppawz1 ,

    Would you mind sharing your form with us so we can check this issue closer? Please see here how to export it https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export

    When you have exported the form please share it with us using pastebin.com or a service like gdrive.

    kind regards,
    Kasia

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @helppawz1 ,

    We haven’t heard from you for several days now, so it looks like you don’t have more questions for us.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

    Thread Starter helppawz1

    (@helppawz1)

    Sorry, I missed your first reply. Here’s the pastebin link: Forminator Form Export – Pastebin.com

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @helppawz1

    Thank you for sharing the form!

    I imported it to my test setup and checked and I could replicate the issue there.

    It is related to a glitch in the plugin (it’s known to our developers already so it should be fixed with one of future releases) that causes issues if the select/checkbox/radio options’ values (values, not labels!) contain some special characters.

    In this case values of your options for the “Annual Subscriptions” (radio-2) field have following characters included in them: pound sign, amp sign and comma.

    You would need to edit those options and in their values (values, not labels – labels can stay as they are) remove those characters. Note: do not replace them with spaces, just remove them.

    After updating the form, set the visibility condition again for the “checkbox-2” field and it’d one.

    I tested the form with these changes and I can confirm that it solves the issue.

    Best regards,
    Adam

    Thread Starter helppawz1

    (@helppawz1)

    That’s great, thank you so much, the issue has been solved by following your instructions.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Calculated field not working when submitted’ is closed to new replies.