473,324 Members | 2,248 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Form: change the browse button text

Hi,

I want to change the text for the file-browse button within a form:

I have something like that:
<FORM ENCTYPE="multipart/form-data" ACTION="<?php echo
basename(__FILE__) ?>?command=CHANGECONTPICTURE" METHOD=POST>
<INPUT_TYPE="File" name="userfile" size="1" maxlength="255">
<INPUT_NAME="submit" type="submit" id="submit" value="send it">
</FORM>

This form always gives me a button like
Browse ... or
Datei auswählen

I want to change this text into
...
Is there a chance to change the browse button text within a form ?
Thanks for your tip

regard

werner

--
---
E-Mail: we***********@pleasedatacomm.ch
To get the E-Mail address just delete >nospam< and >please<
Jul 20 '05 #1
4 13989
Werner Kaiser wrote:

I want to change the text for the file-browse button within a form:

<FORM ENCTYPE="multipart/form-data" ACTION="<?php echo
basename(__FILE__) ?>?command=CHANGECONTPICTURE" METHOD=POST>
<INPUT_TYPE="File" name="userfile" size="1" maxlength="255">
<INPUT_NAME="submit" type="submit" id="submit" value="send it">
</FORM>
What's with the underscore in the input tag?
it's <input type=
not <imput_type=
This form always gives me a button like
Browse ... or
Datei auswählen

I want to change this text into
...


The value attribute sets this for input type="submit". Have you tried
that for input type="file" ?

--
Brian
follow the directions in my address to email me

Jul 20 '05 #2
Brian <us*****@julietremblay.com.invalid-remove-this-part> wrote:
The value attribute sets this for input type="submit". Have you tried
that for input type="file" ?


i tried it, but it doesnt't work :-(

CU werner
--
---
E-Mail: we***********@pleasedatacomm.ch
To get the E-Mail address just delete >nospam< and >please<
Jul 20 '05 #3
Werner Kaiser schrieb:

I want to change the text for the file-browse button within a form:

This form always gives me a button like
Browse ... or
Datei auswählen

I want to change this text into
...

Is there a chance to change the browse button text within a form ?


Nope, keine Chance.
Matthias
Jul 20 '05 #4
no****@all.please (Werner Kaiser) wrote:
I want to change the text for the file-browse button within a form:
Get a different browser then.
This form always gives me a button like
Browse ... or
Datei auswählen


Well, not to me. Is that a problem? Why would you like to change this
part of the browser's user interface.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ron Brennan | last post by:
Good afternoon. The entire task that I'm trying to achieve is to allow a user to browse and upload multiple files simultaneously, hiding the Browse button of <input> tags of type="file" and...
4
by: Christiaan | last post by:
I am trying to create a small javascript to change the button text and then submit it and do all kinds of form validations. So I have a button with the value "Save", when the button is clicked it...
5
by: Ron Brennan | last post by:
Good afternoon. The entire task that I'm trying to achieve is to allow a user to browse and upload multiple files simultaneously, hiding the Browse button of <input> tags of type="file" and...
5
by: Codeman II | last post by:
Hi there, I am building a form where the user must upload a picture and fill in his details. Now I have a problem as all of this is on the same form. How will I be able to have the Browse...
3
by: RickDee | last post by:
Pls help. What I am trying to do is to change the text of the MessageBox. For example, when we use : MessageBox.Show("Pass or Fail ?", "Dialog Title", MessageBoxButtons.YesNo); Then we will...
3
by: Charlie Dison | last post by:
Hi there, How can I change the caption of a button in a grid at runtime? I seem to be able to change the header text in the column where the button appears but not the button caption. Thanks in...
5
by: marijuanated | last post by:
Hi all, I am wondering if i could change a button text dynamically in its handler. for example,can we do something like this: curButton.bind("<Button-1>",self.StopServer) def...
2
by: johnny | last post by:
hi all, I have troubles with a css styled form: I cannot make an upload field staying into a fixed column , say 100 pixels wide. It could be enough to have the file browse button below the...
2
by: Rinaldo | last post by:
How to change the button text of a openfiledialog in to my own custum test?
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.