Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forms with FILE #4

Closed
professor-monkfish opened this issue Jan 19, 2012 · 2 comments
Closed

Forms with FILE #4

professor-monkfish opened this issue Jan 19, 2012 · 2 comments

Comments

@professor-monkfish
Copy link

This works:

<?php
class Teon_Form_YouTube extends Zend_Form {

    public function init() {
        $this->addElement('file', 'file', array(
            'required'      => true
        ));

This breaks with error 'Warning: Exception caught by form: No file decorator found... unable to render file element'

<?php
class Teon_Form_YouTube extends Twitter_Form {

    public function init() {

        $this->addElement('file', 'file', array(
            'required'      => true
        ));
@professor-monkfish
Copy link
Author

PS you rock, I love this little library. Here are some internet heart tokens for you ♥♥♥♥♥♥

@sebastianhoitz
Copy link
Member

This should fix the problem with the file form elements.

Sorry that it took so long to iron this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants