Text box, PHP Web Programming

Assignment Help:

The <INPUT> tag is used to specify where user input is expected.  It has distinct attributes, of which the TYPE attribute is used to indicate the kind of input i.e. to be provided. The most common value of this attribute of the <INPUT> tag is TEXT. As illustrated in Figure every INPUT require a NAME. While the user types in his address (for instance 1234 ABC), this will become the input's value & be paired with NAME thus the end result after running it through the Mailto Formatter will be ADDRESS=1234 ABC.

We can, if we wish, type in a VALUE.

<INPUT TYPE=TEXT NAME="ADDRESS" VALUE="44 XYZ">

This will pair the value 44 XYZ with the name ADDRESS automatically, unless the user alters it. Take care to employ quotes as specified in the instance.

We can indicate the size of the text input box.

<INPUT TYPE=TEXT NAME="ADDRESS" VALUE="44 XYZ" SIZE=10>

The default value is twenty. You already know that the default value is the value which the browser supposes if you have not told it otherwise.

Go ahead & remove VALUE="44 XYZ".

If we wish, we can indicate how several characters a user can input.

Experiment with this and attempt to input more than ten characters! The MAXLENGTH attribute is used to limit the number of characters to be entered in the textbox.

<INPUT TYPE=TEXT NAME="ADDRESS" SIZE=20 MAXLENGTH=10>

Alike to the TYPE=TEXT is the TYPE=PASSWORD. It is exactly the identical, except that for security it displays *** rather than the actual input. The text entered like a password would not be echoed on the page.  Thus you can employ this whenever you wish to accept a password or some other sensitive information from the user.

<INPUT TYPE=PASSWORD>

Remember that each <INPUT> should have a NAME which gives the name of the field.

<INPUT TYPE=PASSWORD NAME="USER PASSWORD">

The VALUE, SIZE and MAXLENGTH attribute work here also just as they do along TEXT


Related Discussions:- Text box

How to upgrade joomla being used from 1.5 to 3.2, How to Upgrade Joomla bei...

How to Upgrade Joomla being used from 1.5 to 3.2 We have a website which we want to either upgrade the Joomla CMA or swith to WordPress. Not a huge site. Desired Skills are M

We are looking for web developer and programmer, We are looking for Web Dev...

We are looking for Web Developer and Programmer Responsibilities- Develop both internal and external website and web-based applications/features a) Generate, maintain and arc

Want expert assistance in wordpress plugin development, Wordpress Plugin De...

Wordpress Plugin Development Our company is needing somebody with awesome skills like yours to build a custom WP Plugin are you available for the project? Desired Skills are

I need help in rv storage, I need help in RV Storage Knowledge as well a...

I need help in RV Storage Knowledge as well as previous experience programming checkout fees between Interchange and Processor companies. Job Description- We're seeking a Web

I desire help for website development, website development 1. You want t...

website development 1. You want to have ideal about different time zone at the world, instance, USA have few different time zone, Los Angeles, New York, and USA change time twic

Need help in linkedin javascript api on wordpress site, LinkedIn JavaScript...

LinkedIn JavaScript API on WordPress site I would like assistance implementing LinkedIn JavaScript API so users of my WordPress site can "Sign In With LinkedIn". The goal is

Draw layout cells in a table, Now insert layout cells into which you will a...

Now insert layout cells into which you will add text regarding travel locations. 1. In the Objects panel, click on the Draw Layout Cell icon & move the pointer to the layout tab

Looking for netflow web application developer, Looking for NetFlow Web Appl...

Looking for NetFlow Web Application Developer I am seeking a programmer who can write a web-based front end for nfcapd /NFDUMP. I am alert that Nfsen is available (the recommend

I would like someone to move my current website, Move my GoDaddy Site to WP...

Move my GoDaddy Site to WP.org I would like someone to move my current website and blog content to WP.org. I love my current site pretty much as is. The merely reason I want

Usenet and newsgroups, On Internet there exists another way to meet people ...

On Internet there exists another way to meet people & share information. One of such way is through Usenet newsgroups. These are special groups established through people who want

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd