• Resolved mwokasch

    (@mwokasch)


    I’m porting over a form from the previous version. I have encountered what I believe is a bug. On this page (https://www.hostafamily.org/test-applicants/), I have a text field that currently correctly counts the number of checkboxes. It will let you advance if you have all 5 checked. I realize there’s another way to do this, but this makes the bug very clear.

    If you try to submit with less than all checks marked, it gives you an error. If you then “fix” the mistake by checking all the boxes, you’ll see that the number resets to 0 when you check the box again.

    The condition on the checkboxes currently looks like this:

    Mark the field as Invalid if Text box (id: 17) NOT Equal 5

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

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

    (@edgarrojas)

    You can get the number of selected items with a formula like

    [RNF “19” RNF].SelectedValues.length

    Regards!

    Thread Starter mwokasch

    (@mwokasch)

    That works, but the bug where an error causes the calculation to stop still happens.

    Plugin Author EDGARROJAS

    (@edgarrojas)

    Hello!

    Could you update the plugin and try again? I tried to replicate the issue with a similar formula but it works for me.

    Thread Starter mwokasch

    (@mwokasch)

    Okay, after playing around a bit:

    1. I can make this “work” with a text field, but I can’t with a hidden field. Which is a bit weird.
    2. If a field is “required” and has a custom validation, then there seems to be situations in which the custom validation / required state don’t resolve on the same submission click. Removing the required and using just custom validations seems to resolve this, but it’s weird. Clicking submit multiple times also seems to resolve it.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Calculating after an error message’ is closed to new replies.