473,804 Members | 3,722 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="multip art/form-data" ACTION="<?php echo
basename(__FILE __) ?>?command=CHAN GECONTPICTURE" METHOD=POST>
<INPUT_TYPE="Fi le" name="userfile" size="1" maxlength="255" >
<INPUT_NAME="su bmit" 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***********@p leasedatacomm.c h
To get the E-Mail address just delete >nospam< and >please<
Jul 20 '05 #1
4 14014
Werner Kaiser wrote:

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

<FORM ENCTYPE="multip art/form-data" ACTION="<?php echo
basename(__FILE __) ?>?command=CHAN GECONTPICTURE" METHOD=POST>
<INPUT_TYPE="Fi le" name="userfile" size="1" maxlength="255" >
<INPUT_NAME="su bmit" 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*****@juliet remblay.com.inv alid-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***********@p leasedatacomm.c h
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
9931
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 replacing it with a button of my own background color and text. The file paths I'd like displayed in a textarea and then the files uploaded at once.
4
3618
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 should change into "Are you sure" and when you then click the button the form must be submitted. I know this is possible using a simple dialog box but I want to this it this way. This is what I already have, if you have any suggestions please...
5
5480
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 replacing it with a button of my own background color and text. The file paths I'd like displayed in a textarea and then the files uploaded at once.
5
5906
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 button to open the "file browse" dialog and the Submit button to submit the form data.
3
26105
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 have the Yes and No button for user to press. Now how can I have the enum struct option where I can put MessageBoxButtons.PassFail which will display Pass and Fail buttons on the message box ? Is ther anyway to do
3
2104
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 advance.
5
5247
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 StopServer(self,event):
2
3828
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 upload field, however I do not know how to do that. The file browse button is always on the right of the upload field and it always goes out of the column, even if I put the fields into a fixed width div . Moreover how can be styled the file browse...
2
7454
by: Rinaldo | last post by:
How to change the button text of a openfiledialog in to my own custum test?
0
10558
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10318
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10302
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9130
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5503
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2975
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.