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

We need help in system intrgration, We need help in System Intrgration-  Vo...

We need help in System Intrgration-  VoIP platform and ticketing system integration We are seeking to build an environment where inbound calls are accepted and forwarded to a se

We need a wordpress plugin development expert, We need a WordPress Plugin D...

We need a WordPress Plugin Development expert We are seeking an experienced and skilled WordPress developer to develop a WP plugin for one of our clients who specialises in home

Body tag, If you have a head, you required a body. All of the content to be...

If you have a head, you required a body. All of the content to be displayed on the web page needs to be written within the body tag.  So whether text, textbox, headlines, checkbox

Needed a programmer experienced in wp theme, Programmer Experienced in WP T...

Programmer Experienced in WP Theme I have installed theme with bluehost. I have created the front page. Purchased Form Maker. My website has the front page designed. I want h

Project, how much does it coast for php project

how much does it coast for php project

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

I need html5 audio recorder help, HTML 5 Audio Recorder (Hourly or Escrow) ...

HTML 5 Audio Recorder (Hourly or Escrow) I am in search of a talented fully experienced developer to build an audio recorder in HTML5 (WebRTC style). The audio recorder must wor

I need amember membership programs, aMember membership programs aMember ...

aMember membership programs aMember v4 Membership Programs html websites Job Description: I'm seeking a Web Developer experienced with aMember . I just upgraded to aMe

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

Define a style rule, Define a style rule that defines a font-family, font t...

Define a style rule that defines a font-family, font text color, font-size, and background color for the textarea. The style rules can be placed in a style element in the head of

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