zend-file Questions
4
Solved
I'm setting the upload max filesize in my form:
$file = new Zend_Form_Element_File('file');
$file->setLabel('File to upload:')
->setRequired(true)
->addValidator('NotEmpty')
->addVa...
V1 asked 10/12, 2009 at 19:57
1
Solved
Today I updated to ZF 2.4 to use float validator but unfortunately i realized that my file upload form field gives unexpected error messages.
Here is my form object
$this->add([
'name' => ...
Lemos asked 14/5, 2015 at 6:27
7
Solved
Form:
//excerpt
$file = new Zend_Form_Element_File('file');
$file->setLabel('File to upload:')
->setRequired(true)
->addValidator('NotEmpty')
->addValidator('Count', false, 1)
->...
Mink asked 10/12, 2009 at 20:42
1
Solved
Even if I select 2 or more images, only one gets uploaded.
I have a simple form:
<form action="/images/thumbs" method="post" enctype="multipart/form-data">
<input name="file[]" id="file...
Stoush asked 28/4, 2013 at 21:58
3
Solved
I am using Zend Framework 1.9.6. I think I've got it pretty much figured out except for the end. This is what I have so far:
Form:
<?php
class Default_Form_UploadFile extends Zend_Form
{
pub...
Honeyman asked 9/12, 2009 at 20:16
1
Solved
I have the problem, that the following Zend Form throws an error.
The problem is the "file"-element and using setElementDecorators.
class Products_AddForm extends Zend_Form
{
function init() {
...
Nammu asked 28/9, 2011 at 9:8
7
Solved
I'm trying to create an "upload file, and email as an attachment" form where the file starts uploading after it has been selected (like Gmail), before sending the email. I would also like to implem...
Lablab asked 13/4, 2009 at 9:33
6
Solved
I've got a question about renaming a file after it's been uploaded in Zend. I don't know where to put the Rename Filter. Here's what I've got. I've tried moving things around, but I'm lost. Current...
Boeschen asked 19/12, 2008 at 13:10
1
© 2022 - 2024 — McMap. All rights reserved.