Fork me on GitHub

Formicula: Bad captcha drops form data  Bottom

  • When a user submits the incorrect math answer, their data is dropped and insulting: "Bad in mathematics? You can do better, try again." error is given. If I were a user and forgot to enter the captcha and/or fat fingered it and all of my data was lost, I would leave the website.

    It makes it hard to justify using this tool for businesses with this.

    I submitted: http://code.zikula.org/formicula/ticket/45
  • Indeed, didn't notice that yet since I do know mathematics icon_smile
    That is rather user unfriendly indeed. Shouldn't be that hard to fill in the form items when the error emerges I would guess.

    In the code it says:

    Code

    if($captcha_ok==false) {
                SessionUtil::delVar('formicula_captcha');
                // todo: append params to $returntourl and redirect
                $params = array('form' => $form);
                if(is_array($addinfo) && count($addinfo)>0) {
                    $params['addinfo'] = $addinfo;
                }
                return LogUtil::registerError(_FOR_WRONGCAPTCHA, null, pnModURL('formicula', 'user', 'main', $params));
            }

    so there is a todo there for hte captcha part. I guess the params need to be passed nicely to the main function again.

    --
    campertoday.nl, Module development, Dutch Zikula Community
  • Thanks Erik for taking a look and for the handy module.
  • jaenosjelantru

    Thanks Erik for taking a look and for the handy module.


    I did take a look in the code, since I'm using Formicula rather extensively, but the module is certainly not mine icon_wink if that is what you meant icon_smile
    Usability always gets my attention icon_wink

    --
    campertoday.nl, Module development, Dutch Zikula Community
  • Ahh, well thanks to Frank Schummertz then.

    :)

This list is based on users active over the last 60 minutes.