On 07/03/2008, Alex Povolotsky <[EMAIL PROTECTED]> wrote:
> Hello!
>
>  I'm trying to make a form for uploading photos; as far as I've
>  understood HTML 4.01 reference, I'd do good adding "accept=image/jpg" to
>  input field; however, adding accept: image/jpg to .yml file yields an error.

At a guess, do you need to quote the string?

    - type: File
      name: foo
      attrs:
        accept: 'image/jpg'

If not, post what you've tried.

Carl

_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to