Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > How to clear file upload control inout box in Safari?`

Reply
Thread Tools

How to clear file upload control inout box in Safari?`

 
 
effendi@epitome.com.sg
Guest
Posts: n/a
 
      10-18-2006
I have a file upload control in a form. In all browsers, the file input
box is displayed. So if users make an error, the can simply clear the
field. In safari, the input box is not displayed, How can I provide a
functionaliity to clear the input box if the users choose to clear it?

Thanks in advance.

 
Reply With Quote
 
 
 
 
dorayme
Guest
Posts: n/a
 
      10-18-2006
In article
< .com>,
wrote:

> I have a file upload control in a form. In all browsers, the file input
> box is displayed. So if users make an error, the can simply clear the
> field. In safari, the input box is not displayed, How can I provide a
> functionaliity to clear the input box if the users choose to clear it?
>


So... there is no input box as displayed in Safari eh? And you
want the user, who cannot even see it, to be able to clear it?
Clear it of things he cannot put in it (because it is not there).

I like this. Where is Luigi?

What else can be said, something needs saying for sure?

What about:

Can you cut the hair of the bald King of France?

--
dorayme
 
Reply With Quote
 
 
 
 
effendi@epitome.com.sg
Guest
Posts: n/a
 
      10-18-2006

dorayme wrote:
> In article
> < .com>,
> wrote:
>
> > I have a file upload control in a form. In all browsers, the file input
> > box is displayed. So if users make an error, the can simply clear the
> > field. In safari, the input box is not displayed, How can I provide a
> > functionaliity to clear the input box if the users choose to clear it?
> >

>
> So... there is no input box as displayed in Safari eh? And you
> want the user, who cannot even see it, to be able to clear it?
> Clear it of things he cannot put in it (because it is not there).
>
> I like this. Where is Luigi?
>
> What else can be said, something needs saying for sure?
>
> What about:
>
> Can you cut the hair of the bald King of France?
>
> --
> dorayme




Dorayme

Well, the situation happens when a user select a file then decides that
they dont want to upload any file. THen there is no way to "clear" the
control. At best user can "replace" the selected file with another but
not clear it.

You know what I mean?

 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      10-18-2006
In article
<. com>,
wrote:

> dorayme wrote:
> > In article
> > < .com>,
> > wrote:
> >
> > > I have a file upload control in a form. In all browsers, the file input
> > > box is displayed. So if users make an error, the can simply clear the
> > > field. In safari, the input box is not displayed, How can I provide a
> > > functionaliity to clear the input box if the users choose to clear it?
> > >

> >
> > So... there is no input box as displayed in Safari eh? And you
> > want the user, who cannot even see it, to be able to clear it?
> > Clear it of things he cannot put in it (because it is not there).
> >
> > I like this. Where is Luigi?


> Well, the situation happens when a user select a file then decides that
> they dont want to upload any file. THen there is no way to "clear" the
> control. At best user can "replace" the selected file with another but
> not clear it.
>
> You know what I mean?


Perhaps best to post a URL on Q like this.

--
dorayme
 
Reply With Quote
 
Beauregard T. Shagnasty
Guest
Posts: n/a
 
      10-18-2006
wrote:

> Well, the situation happens when a user select a file then decides
> that they dont want to upload any file. THen there is no way to
> "clear" the control. At best user can "replace" the selected file
> with another but not clear it.


Have you tried a reset button next to your submit button? That should
certainly clear your form field.

However, it is normally recommended never to actually *use* a reset
button. I think you would find that most web surfers are smart enough to
know how to overtype or clear an input field.

--
-bts
-Motorcycles defy gravity; cars just suck
 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      10-18-2006
wrote:

> Dorayme


That's _dorayme_
>
> Well, the situation happens when a user select a file then decides that
> they dont want to upload any file. THen there is no way to "clear" the
> control. At best user can "replace" the selected file with another but
> not clear it.



<input type="reset" value="Clear Me!">

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      10-18-2006
In article <f000a$4535a2a4$40cba7be$>,
"Jonathan N. Little" <> wrote:

> wrote:
>
> > Dorayme

>
> That's _dorayme_


Thank you, J. It is so draining having to reminding folk of this.
They mean well, in fact the "D" is a mark of respect and I am
therefore, naturally, a little reluctant to correct them -
however little I deserve it.

--
dorayme
 
Reply With Quote
 
effendi@epitome.com.sg
Guest
Posts: n/a
 
      10-18-2006
dorayme wrote:
> In article <f000a$4535a2a4$40cba7be$>,
> "Jonathan N. Little" <> wrote:
>
> > wrote:
> >
> > > Dorayme

> >
> > That's _dorayme_

>
> Thank you, J. It is so draining having to reminding folk of this.
> They mean well, in fact the "D" is a mark of respect and I am
> therefore, naturally, a little reluctant to correct them -
> however little I deserve it.
>
> --
> dorayme


dorayme, Jon

Thanks for the input.

 
Reply With Quote
 
effendi@epitome.com.sg
Guest
Posts: n/a
 
      10-18-2006
wrote:
> I have a file upload control in a form. In all browsers, the file input
> box is displayed. So if users make an error, the can simply clear the
> field. In safari, the input box is not displayed, How can I provide a
> functionaliity to clear the input box if the users choose to clear it?
>
> Thanks in advance.


JUst in case I wasnt clear, the images below are taken from the screen
dump of MS IE and Safar.

<http://202.172.239.193/images/safari.gif

http://202.172.239.193/images/ms.gif

 
Reply With Quote
 
effendi@epitome.com.sg
Guest
Posts: n/a
 
      10-18-2006
wrote:
> I have a file upload control in a form. In all browsers, the file input
> box is displayed. So if users make an error, the can simply clear the
> field. In safari, the input box is not displayed, How can I provide a
> functionaliity to clear the input box if the users choose to clear it?
>
> Thanks in advance.


JUst in case I wasnt clear, the images below are taken from the screen
dump of MS IE and Safar.

http://202.172.239.193/images/safari.gif

http://202.172.239.193/images/ms.gif

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Connecting an inout port to another inout port THurkmans VHDL 14 08-11-2009 08:32 PM
inout to inout Ken VHDL 2 05-09-2008 01:56 PM
connecting std_logic inout ports and std_logic_vector inout port =?ISO-8859-15?Q?Fr=E9d=E9ric_Lochon?= VHDL 3 11-08-2007 03:55 AM
Upload a file without file Upload control - ASP.Net =?Utf-8?B?U2FyYXY=?= ASP .Net 3 08-03-2005 01:09 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57