Re: cfinput question

2009-07-01 Thread sam Detweiler
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

Re: cfinput question

2009-07-01 Thread Les Irvin
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

RE: cfinput question

2009-07-01 Thread Justin Scott
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

Re: cfinput question

2009-07-01 Thread Charlie Griefer
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

Re: cfinput question

2009-07-01 Thread Ian Skinner
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

Re: cfinput question

2009-07-01 Thread sam Detweiler
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

RE: cfinput question

2009-07-01 Thread Paul Alkema
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

RE: cfinput question...

2005-02-28 Thread Calvin Ward
[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

RE: cfinput question...

2005-02-28 Thread Adrian Lynch
: 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

RE: cfinput question...

2005-02-28 Thread Mike Nimer
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

RE: cfinput question...

2005-02-28 Thread Mike Nimer
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

Re: cfinput question...

2005-02-25 Thread Sean Corfield
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

Re: cfinput question...

2005-02-25 Thread S . Isaac Dealey
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

RE: cfinput question...

2005-02-25 Thread Mike Nimer
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

RE: cfinput question...

2005-02-25 Thread Adrian Lynch
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

RE: cfinput question...

2005-02-25 Thread Mike Nimer
] 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

RE: Body too long: RE: cfinput question...

2005-02-25 Thread Mike Nimer
] 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

RE: cfinput question...

2005-02-25 Thread Dave Watts
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

RE: cfinput question...

2005-02-25 Thread Matthew Small
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

RE: cfinput question...

2005-02-25 Thread dave
:[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

RE: cfinput question...

2005-02-24 Thread Adrian Lynch
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

RE: cfinput question...

2005-02-24 Thread Tarantor
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.

Re: cfinput question...

2005-02-24 Thread Charles Heizer
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

Re: cfinput question...

2005-02-24 Thread Charles Heizer
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

Re: cfinput question...

2005-02-24 Thread Sean Corfield
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 --

Re: cfinput question...

2005-02-24 Thread Charles Heizer
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:

Re: cfinput question...

2005-02-24 Thread Brendan OHara
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

Re: cfinput question...

2005-02-24 Thread S . Isaac Dealey
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

RE: cfinput question...

2005-02-24 Thread Dave Watts
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

RE: cfinput question...

2005-02-24 Thread S . Isaac Dealey
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

Re: cfinput question...

2005-02-24 Thread Joe Rinehart
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

Re: cfinput question...

2005-02-24 Thread dave
, 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

Re: cfinput question...

2005-02-24 Thread Charles Heizer
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

RE: cfinput question...

2005-02-24 Thread Mike Nimer
: 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

RE: cfinput question...

2005-02-24 Thread Dave Watts
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

Re: cfinput question...

2005-02-24 Thread Charles Heizer
:[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

RE: cfinput question...

2005-02-24 Thread Mike Nimer
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

RE: cfinput question...

2005-02-24 Thread Adrian Lynch
, 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

RE: cfinput question

2003-02-28 Thread Tangorre, Michael
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

RE: cfinput question

2003-02-28 Thread Bryan F. Hogan
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:

RE: cfinput question

2003-02-28 Thread Jacob
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