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

I want a help in malware check as well as removal, I want a help in Malware...

I want a help in Malware check as well as removal Want a WordPress programmer to check as well as remove possible malware on my website. Not sure what is wrong however I see

We need help to develop wordpress plugin/ widget, We need help to develop W...

We need help to develop Wordpress Plugin/ Widget Need Somebody that can build a Wordpress Widget or Plugin API Develop using ruby, perl, php, java, JavaScript or python. Desi

We need to fix broken links in wordpress, We Need to fix broken links in Wo...

We Need to fix broken links in WordPress Looking to wordpress expert for fix links errors. I found it in mysite on wordpress afterward scanned Xenu program. Desired Skills ar

Need help in house rental tracking hosted web gui and db, House Rental trac...

House Rental tracking Hosted Web GUI and DB Want a web interface program to track short term rentals of multiple vacation properties. Most information wants to be scraped twice

We need help to build bidding style website, We need help to build Bidding ...

We need help to build Bidding style Website I want a bidding style website. Yet the target market is bidding on something different. I would want a paid membership area and a fr

Needed a front-end developer, Front-end Developer As a freelance front-e...

Front-end Developer As a freelance front-end developer, you will be appointed on a per-project basis. You will be accountable for the production, modification and maintenance of

Fix php script that works on facebooks api, FIX PHP Script that works on Fa...

FIX PHP Script that works on Facebook's API Project Description: FIX PHP Script that works on Facebook's API: Professionals only Develop a tool with a freelancer that is n

Omputer Incident Response System_Programming on WAMP platfor, need help wit...

need help with initial programming of the system as displayed in the attachment..its about simple incident response system that , as per my idea, shall be universal and easily depl

Advanced html, In the previous unit you have study the fundamentals of HTML...

In the previous unit you have study the fundamentals of HTML. After study about how to make static web pages, now let us study how to develop Interactive Web sites. A good web site

I want a help in moodle modification, I want a help in Moodle modification ...

I want a help in Moodle modification I need modifications to Moodle to permit for many schools to use the same software, however no school may see each other's teachers or stude

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