[html-formfu] online cssapp updates

Carl Franks fireartist at gmail.com
Tue May 26 14:26:06 GMT 2009


For anyone that wasn't aware of it, there's an online CSS-app that
lets you quickly test CSS markup against a form.
It's at: http://www.formfu.org/cssapp/

I'd noticed it was getting spammed with junk links, so I've added a
reCPATCHA field to all add / edit / delete functions.

This was pleasantly easy to add.
I added the reCAPTCHA public/private keys in the Catalyst myapp.yml
config file, so I didn't need to repeat them:

'Controller::HTML::FormFu':
    constructor:
        element_defaults:
            reCAPTCHA:
                public_key:  xxx
                private_key: yyy

Then I just had to add the reCAPTCHA element to my edit.yml and
delete.yml forms:

    element: reCAPTCHA
    name: test

I've also updated the default "vertically aligned" style with the
markup from trunk/HTML-FormFu/examples/vertically-aligned/vertically-aligned.css

And I've updated the 3 demo forms to include a Date element.

Carl



More information about the HTML-FormFu mailing list