WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Contact Form 7 to Database Extension] COUNT IS BROKEN

[Resolved] [Plugin: Contact Form 7 to Database Extension] COUNT IS BROKEN

Viewing 6 replies - 1 through 6 (of 6 total)
  • http://……/wp-admin/admin-ajax.php?action=cfdb-export&form=Registracia&search=Kasman&enc=COUNT

    again : search : Kasman

    total entries 9 but only one field have the searched content but

    result 9 and not 1 !!!!!!!

    http://…./wp-admin/admin-ajax.php?action=cfdb-export&form=Registracia&filter=exkurzia%3DRak%C3%BAsko%20%2F%20AT&enc=COUNT

    column exkurza

    formula exkurza = exkurzia / AT

    exkurzia / AT is a text imput !!!!!!!!!!!
    why ? because contact form 7 doesnt alow to preset database answer

    example
    cf7 : checkbox choice “one” “two” “three”
    >
    in database column choice and row 1 one row 2 two row 3 three
    and than
    count choice=three ????? answer should be 1 but try it yourself

    I recommend cf7 feature

    checkbox choice “one”=1 “two”=2 “three”=3
    >
    in databse column choice row1 1 row2 2 row3 3
    count chouce=3 the answer would be for 99% 1
    because its math and not text imput in the column cell

    http://…./wp-admin/admin-ajax.php?action=cfdb-export&form=Registracia&enc=COUNT

    result 9

    http://…./wp-admin/admin-ajax.php?action=cfdb-export&form=Registracia&search=aaa&enc=COUNT

    result 9

    but should be 0 becouse search=aaa and aaa is not inside of my FORMULAR AS ANSWER MENTIONED !!!!!!!!

    Plugin Author Michael Simpson

    @msimpson

    Count is broken. I will be pushes bug fix release soon.

    Problems I know about:
    1. Count gives the wrong answer (it is always giving a total)
    2. In some cases, the browser will show the page source instead of rendering the HTML when this shortcode is used (because the shortcode is returning text and that sometimes becomes the mime type for the whole page).

    I have fixed these problems but have not yet released an update.

    Are there any other problems with cfdb-count?

    basicly no … only answer by 6imputs in database I recieved by all possible combinations only answer 6 so .. 🙂

    I had problem with search function
    basicly I know the special answe and I use search to count the number of that answers in the database … but that one didnt worked for me yet

    😉 thx for response

    Plugin Author Michael Simpson

    @msimpson

    Should be fixed in latest release

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: Contact Form 7 to Database Extension] COUNT IS BROKEN’ is closed to new replies.