• Resolved koupmi

    (@koupmi)


    Hello, i have checkbox inputes and after update started showing new validation error message “Too many items selected”

    How can i deactivate this “feature”? It break my from. User must select at least 2 items, that is my custom function, but for some reason cf7 not allow mark two checkboxes. The field is not exclusive.

    • This topic was modified 1 week ago by koupmi.
    • This topic was modified 1 week ago by koupmi.
    • This topic was modified 1 week ago by koupmi.
    • This topic was modified 1 week ago by koupmi.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter koupmi

    (@koupmi)

    I think its some bug in this realease:

    SWV: Applies the maxitems validation rule to radio buttons and exclusive checkboxes.

    It make exlusive all checkboxes by default? When i rollback to version 5.9.6 it working as before.

    • This reply was modified 1 week ago by koupmi.
    • This reply was modified 1 week ago by koupmi.
    Thread Starter koupmi

    (@koupmi)

    Im looking on github, you have wrong this line:

    if ( ‘radio’ === $tag->type or $tag->has_option( ‘exclusive’ ) ) {

    should be

    if ( ‘radio’ === $tag->basetype or $tag->has_option( ‘exclusive’ ) ) {

    This condition mistakenly treats all checkboxes (even non-exclusive ones) as radios

    Thread Starter koupmi

    (@koupmi)

    Found the issue – i had two same name in form, but it was working in previous version

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.