I'm using the cfinput type=file tag to upload pdfs to the server.
Is there a way in Cold Fusion to, when the file upload / browse dialog
comes up, restrict it to only show pdf files? Or is that an operating
system / java / something else function?
Thanks in advance,
Les
how about cffile
At the risk of exposing my ignorance, isn't cffile a server-side
operation? I'm needing a client side filter, basically.
On Wed, Jul 1, 2009 at 2:27 PM, sam Detweilersdetw...@gmail.com wrote:
how about cffile action=upload accept = application/pdf
At the risk of exposing my ignorance, isn't cffile a
server-side operation? I'm needing a client side
filter, basically.
Yes. There is no way that I am aware of to put a filter on the file
selector box triggered by an input tag.
-Justin
Only Flash based uploaders can filter the user's choice of file types.
Best you can do is check it after the upload.
(AFAIK) :)
On Wed, Jul 1, 2009 at 1:53 PM, Les Irvin les.cft...@gmail.com wrote:
At the risk of exposing my ignorance, isn't cffile a server-side
operation? I'm needing a
Les Irvin wrote:
I'm using the cfinput type=file tag to upload pdfs to the server.
Is there a way in Cold Fusion to, when the file upload / browse dialog
comes up, restrict it to only show pdf files? Or is that an operating
system / java / something else function?
Thanks in advance,
Les
At the risk of exposing my ignorance, isn't cffile a server-side
operation? I'm needing a client side filter, basically.
how about cffile action=upload accept = application/pdf
using this the browser will ask for *.pdf files INITIALLY.. there is NO way to
enforce ONLY a certain file
To: cf-talk
Subject: Re: cfinput question
Les Irvin wrote:
I'm using the cfinput type=file tag to upload pdfs to the server.
Is there a way in Cold Fusion to, when the file upload / browse dialog
comes up, restrict it to only show pdf files? Or is that an operating
system / java / something else
[mailto:[EMAIL PROTECTED]
Sent: Friday, February 25, 2005 11:03 AM
To: CF-Talk
Subject: RE: cfinput question...
The radio buttons works as groups. Technically the group has 1 name with
child radio components (basically an array of children). And only 1 child
can be selected, so you don't need
: Calvin Ward [mailto:[EMAIL PROTECTED]
Sent: 28 February 2005 10:32
To: CF-Talk
Subject: RE: cfinput question...
I'd like to point out that it would be advantageous to be able to easily
switch between flash/xml cfform based on the client without having to worry
about such things.
I thought that same
won't work in the xml forms.
---nimer
-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: Monday, February 28, 2005 5:44 AM
To: CF-Talk
Subject: RE: cfinput question...
That's a very good reason. Not just in regards to the client but just out of
ease of code change
won't work in the xml forms.
---nimer
-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: Monday, February 28, 2005 5:44 AM
To: CF-Talk
Subject: RE: cfinput question...
That's a very good reason. Not just in regards to the client but just out of
ease of code change
On Thu, 24 Feb 2005 15:53:00 -0500, S. Isaac Dealey [EMAIL PROTECTED] wrote:
Because someone who's in all likelyhood very used to developing HTML
forms designed it for other people who are predominantly rooted in the
development of HTML forms.
Strangely, it would never have occurred to me to
On Thu, 24 Feb 2005 15:53:00 -0500, S. Isaac Dealey
[EMAIL PROTECTED] wrote:
Because someone who's in all likelyhood very used
to developing HTML forms designed it for other
people who are predominantly rooted in the
development of HTML forms.
Strangely, it would never have occurred to me
Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 24, 2005 6:18 PM
To: CF-Talk
Subject: RE: cfinput question...
Then why can you have radio inputs with the same name?
I thought the point of Flash forms was to map directly to HTML forms, of
course with improvements
Subject: RE: cfinput question...
The radio buttons works as groups. Technically the group has 1 name with
child radio components (basically an array of children). And only 1 child
can be selected, so you don't need to differentiate between the kids. And
like other fields you can't have multiple
]
Sent: Friday, February 25, 2005 11:18 AM
To: CF-Talk
Subject: RE: cfinput question...
Thanks for the reply. I think I'm in the mindset that radio and checkboxes
are the same but for the ability to select one or many. I also think users
of these forms we build have the same mindset, although I've never
]
Sent: Friday, February 25, 2005 11:18 AM
To: CF-Talk
Subject: RE: cfinput question...
Thanks for the reply. I think I'm in the mindset that radio and checkboxes
are the same but for the ability to select one or many. I also think users
of these forms we build have the same mindset, although I've
Strangely, it would never have occurred to me to have
multiple HTML form fields with the same name... I'm actually
surprised it even works...
That's not the kind of statement that fills me with confidence, considering
you're the leader of the MM web development team!
Seriously, using arrays
And I think it's also the reason list functions are very important in CF.
- Matt Small
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Friday, February 25, 2005 2:12 PM
To: CF-Talk
Subject: RE: cfinput question...
Strangely, it would never have occurred to me
:[EMAIL PROTECTED]
Sent: Friday, February 25, 2005 11:18 AM
To: CF-Talk
Subject: RE: cfinput question...
Thanks for the reply. I think I'm in the mindset that radio and checkboxes
are the same but for the ability to select one or many. I also think users
of these forms we build have the same mindset
Did you get anywhere with this?
Ade
-Original Message-
From: Charles Heizer [mailto:[EMAIL PROTECTED]
Sent: 24 February 2005 00:52
To: CF-Talk
Subject: cfinput question...
Hello,
I'm trying to use the cfinput tag with a type of checkbox. The issue I'm
having is that it won't let me use
Why don't you try radio button instead of checkbox?
~
Hello,
I'm trying to use the cfinput tag with a type of checkbox. The issue I'm
having is that it won't let me use the same name more than once.
No, I did find that this is only the case when the form type is flash.
I think it a bug.
- Charles
On 2/24/05 4:20 AM, Adrian Lynch [EMAIL PROTECTED] wrote:
Did you get anywhere with this?
Ade
-Original Message-
From: Charles Heizer [mailto:[EMAIL PROTECTED]
Sent: 24
I need to allow the user to select multiple items.
- Charles
On 2/24/05 3:25 AM, Tarantor [EMAIL PROTECTED] wrote:
Why don't you try radio button instead of checkbox?
~
Hello,
I'm trying to use the cfinput tag with a type of checkbox. The issue
On Wed, 23 Feb 2005 16:52:26 -0800, Charles Heizer [EMAIL PROTECTED] wrote:
I'm trying to use the cfinput tag with a type of checkbox. The issue I'm
having is that it won't let me use the same name more than once.
That's correct. Each field must have a unique name.
--
Sean A Corfield --
Do you know why that is, since a regular input checkbox field does not have
to be unique it's only when I use the format type as flash?
Thanks,
- Charles
On 2/24/05 10:42 AM, Sean Corfield [EMAIL PROTECTED] wrote:
On Wed, 23 Feb 2005 16:52:26 -0800, Charles Heizer [EMAIL PROTECTED] wrote:
Well Flash has a Client-side state where as HTML doesn't.
HTML simple aggregates all inputs with the same name when its submitted.
Flash already knows they are different controls and since you can bind
data to a specific checkbox then they would have to be enforced as unique.
Brendan
Charles
If HTML doesn't have a client-side state, how to radio buttons work?
Seems to me like a cop-out excuse for having made something that's
easy with HTML difficult with flash forms.
Well Flash has a Client-side state where as HTML doesn't.
HTML simple aggregates all inputs with the same name
Seems to me like a cop-out excuse for having made something
that's easy with HTML difficult with flash forms.
Seems to me like maybe Flash and HTML are significantly different. Why would
you expect something to work in Flash the same way it works in HTML?
Dave Watts, CTO, Fig Leaf Software
Seems to me like a cop-out excuse for having made
something
that's easy with HTML difficult with flash forms.
Seems to me like maybe Flash and HTML are significantly
different. Why would
you expect something to work in Flash the same way it
works in HTML?
Because someone who's in all
Seems to me like maybe Flash and HTML are significantly different. Why would
you expect something to work in Flash the same way it works in HTML?
When I was exploring Flash forms I hit this and, because of my Flash
background, didn't give it another thought.
However, the new Flash forms are
, February 24, 2005 3:58 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: cfinput question...
Seems to me like maybe Flash and HTML are significantly different. Why would
you expect something to work in Flash the same way it works in HTML?
When I was exploring Flash forms I hit
This was true for me, I guess the really confusing part was that I did not
get a error on screen or even with the debug turned on, it just won't show
the flash form, and you have no idea what's wrong.
- Charles
On 2/24/05 12:57 PM, Joe Rinehart [EMAIL PROTECTED] wrote:
Seems to me like maybe
: Charles Heizer [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 24, 2005 4:32 PM
To: CF-Talk
Subject: Re: cfinput question...
This was true for me, I guess the really confusing part was that I did not
get a error on screen or even with the debug turned on, it just won't show
the flash form, and you
Seems to me like a cop-out excuse for having made something
that's easy with HTML difficult with flash forms.
Seems to me like maybe Flash and HTML are significantly
different. Why would you expect something to work in Flash
the same way it works in HTML?
Because someone who's
:[EMAIL PROTECTED]
Sent: Thursday, February 24, 2005 4:32 PM
To: CF-Talk
Subject: Re: cfinput question...
This was true for me, I guess the really confusing part was that I did not
get a error on screen or even with the debug turned on, it just won't show
the flash form, and you have no idea
I agree. I'll see what we can do to get this documented better in the docs.
---nimer
-Original Message-
From: Charles Heizer [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 24, 2005 5:02 PM
To: CF-Talk
Subject: Re: cfinput question...
Nope, I did not have flash compile errors
, but why have a way of grouping these form elements which can then be
referered to by another ID?
Have I missed the point with this?
Ade
-Original Message-
From: Mike Nimer [mailto:[EMAIL PROTECTED]
Sent: 24 February 2005 21:43
To: CF-Talk
Subject: RE: cfinput question...
The reason the names
put this in with your button..
onclick=document.formname.fieldname.value = ;
Mike
-Original Message-
From: Jacob [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 2:03 PM
To: CF-Talk
Subject: cfinput question
Is there a way to...
I have a cfinput field. When I click on
onSubmit=myFormName.myCFInput.value=''
Bryan F. Hogan
Director of Internet Development
Macromedia Certified ColdFusion MX Developer
Digital Bay Media, Inc.
1-877-72DIGITAL
-Original Message-
From:
Thanks Mike and Bryan
Jacob
At 02:12 PM 2/28/2003 -0500, you wrote:
onSubmit=myFormName.myCFInput.value=''
Bryan F. Hogan
Director of Internet Development
Macromedia Certified ColdFusion MX Developer
Digital Bay Media, Inc.
1-877-72DIGITAL
41 matches
Mail list logo