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

Status bar, #question.please help source code to display status bar code .

#question.please help source code to display status bar code .

Initial designs for a web page , A Neighbourhood watch  (a community based ...

A Neighbourhood watch  (a community based 'watch your neighbour'  organisation to keep the neighbourhood safe) committee in the Tuggeranong valley  (ACT) has grown to the stage whe

Want someone who can create wordpress plugin, Wordpress plugin Want some...

Wordpress plugin Want someone who can create (or modify existing) WP plugin to act like Desired Skills are PHP, WordPress

We need website developer, Website Developer We are currently looking fo...

Website Developer We are currently looking for a web site developer. Job Description- We're looking for a Web Developer. Your responsibilities- a) Review business re

I am in need of wordpress tweaks to existing custom plugins, I am in need o...

I am in need of Wordpress Tweaks to Existing Custom Plugins Was hoping you had some obtainable time today, about hours to work on tweaks to plugin functionally of existing Wordp

Need help to debug cs-cart installation, Need help to Debug CS-Cart install...

Need help to Debug CS-Cart installation We have a CS-Cart installed on one of our servers. The site is running as well as everything is working, except for the fact that ther

Http and world wide web, One of the most commonly utilized services on the ...

One of the most commonly utilized services on the Internet is the World Wide Web (WWW). The application protocol which makes the web work is Hypertext Transfer Protocol or HTTP. Do

Need help-cakephp plugin needed to plot charts with nv3d.js, Cakephp plugin...

Cakephp plugin needed to plot charts with nv3d.js I have a database where I have pairs of date times and values. I want a cakephp plugin that permits me to plot them using nv3d.

I want an api replication required, I want an API Replication required P...

I want an API Replication required Project Description: Want an API expert to aid in application development in regards to API extraction, and injection into other sites, as

We need help in the trigger svg animation when it is in view, We need help ...

We need help in the Trigger SVG animation when it is in view I am using Raphael as well as lazylinepainter to do svg animations. I don't want the animations to start until they

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