473,385 Members | 2,029 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,385 software developers and data experts.

How can I get a text box to show asterisks when I type

Hi guys, it's nice to be here.

I know this is really very simple but I am only an intermediate when it comes to database programming.

Please could someone send me some very simple (and commented!) code so that I can create a text box that shows asterisks when I put in a password. Did I do something wrong as my code wouldn't accept textbox.passwordchar = "*"
is that because passwordchar is a variable and must be declared? Please treat me with kid gloves I can find code a bit tricky so feel free to be so plain that it's patronising.

Luv and Peace

Tia
Mar 30 '07 #1
2 13819
Hi guys, it's nice to be here.

I know this is really very simple but I am only an intermediate when it comes to database programming.

Please could someone send me some very simple (and commented!) code so that I can create a text box that shows asterisks when I put in a password. Did I do something wrong as my code wouldn't accept textbox.passwordchar = "*"
is that because passwordchar is a variable and must be declared? Please treat me with kid gloves I can find code a bit tricky so feel free to be so plain that it's patronising.

Luv and Peace

Tia


hi

- right-click on the text box while in design view.
- select properties
- select all tab
- click on the "..." tab next to input mask option
- select password option and follow the steps

that should do the trick.
Mar 30 '07 #2
Aaah Cheers! Didn't know it was so simple!

Thanks again

Tia



hi

- right-click on the text box while in design view.
- select properties
- select all tab
- click on the "..." tab next to input mask option
- select password option and follow the steps

that should do the trick.
Apr 4 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Old Lady | last post by:
Hi all, I have a problem when I try to send an array using a form when the type="checkbox". This is my form input row: <INPUT type="Checkbox" name="flg" value="y" <? if($row == 'y') echo...
8
by: Stevio | last post by:
This is perhaps a bit off topic for this group, but I am using Internet Explorer 6 and I have noticed recently that when I hold the mouse over an image the Alt text is not displayed like it used to...
6
by: Paul Kaufman | last post by:
What do I add to the style sheet to do this? Thanks. -Paul, the CSS Newbie
4
by: Jerry | last post by:
Hello I have some textboxes (input type=Text) in a Form. In some Forms if I Press Enter while I am in the Textbox It causes a Submit. The input type is text not submit. It's obsure that the...
0
by: neeraj | last post by:
Hi Everybody I have one problem in my asp.net web application. The problem is that I check the date validation in code behind; if user not gives the valid data and press save button then I fire...
7
by: bobd314 | last post by:
Currently, I am having a problem replacing the value of a input box with something else using the innerHTML thing. Right now I have something going <script type="text/javascript"><!-- function...
5
by: Hooyoo | last post by:
Hi, here. I write following codes: string password = Console.ReadLine(); I want users enter their passwords, but readline will show content of password when entering, so is there any way to...
6
by: Josh Mitchell | last post by:
Hello, Could anyone direct me to some sample script that makes a div or text visible only when a webform field in selected. So for example, in the below snippet, I want the text "Your username...
6
by: aeris | last post by:
Hello, I'm a beginner of using C#. I'm creating a window application, May I know how to clear the default text on textbox when I click directly on the textbox? For example, the txtBox has the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...

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.