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 help in design corporate website, Design Corporate Website Websho...

Design Corporate Website Webshop selling urban as well as hip-hop inspired t-shirts designs. We have a quick drawings style symbol at the moment as well as would like have that

Fix custom fields issue in wordpress, Fix Custom Fields Issue in WordPress ...

Fix Custom Fields Issue in WordPress Project Description: I am running into a WordPress problem when I import data using the WP All Import plug-in into custom fields created

Web application - front-end for bash tools, Web Application - Front-End for...

Web Application - Front-End for BASH Tools We are in search of a developer or organization capable of building a web application designed to function as a user-rich web front-en

Set up the site structure, Structuring the Web site is the primary step tow...

Structuring the Web site is the primary step towards developing the corporate Web site. Structuring comprise creating a folder, that includes all our text files , picture files and

Apply color and style on text, You will now apply additional formatting cha...

You will now apply additional formatting changes to the text like changing the color & style to generate heading text. 1. In the primary text description layout cell, choose t

Help, Hello, I am a web designer looking for inspiration for a website desi...

Hello, I am a web designer looking for inspiration for a website design (for any purpose) or creating a system that would be also created with the aid of the web programming langua

Need help in revisions to expression engine website, Revisions to Expressio...

Revisions to Expression Engine website I am handling a website created from Expression Engine framework and need a few revisions completed. I will attempt to describe the revisi

Looking for serious php developers, I am required to hire a PHP Programmer ...

I am required to hire a PHP Programmer Looking for serious php developers who are available today. Skills required: MVC, eCommerce, MySQL, PHP, Shopping Carts

Php, Ask question #Create a Web page to be used for storing software develo...

Ask question #Create a Web page to be used for storing software development bug reports in a MySQL database. Include fields such as product name and version, type of hardware, oper

Help with joomla-opencart problem, Help with Joomla/Opencart problem I h...

Help with Joomla/Opencart problem I have a website made on Joomla 2.5 using a component called AceShop (which is a bridge for Opencart). I have newly moved the website to a new

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