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 want a magento installation and optimization, We want a Magento installa...

We want a Magento installation and optimization We want to have our Magento store installed on a server as well as we need some work done in terms of speed optimization / cachin

I need help in crowd funding website, Crowd Funding Website We would lik...

Crowd Funding Website We would like to identical a site, with exact features, functionality and details. Let us know if you need more details. Desired Skills are PHP, Web

Php expert programmer needed for web development, PHP expert programmer nee...

PHP expert programmer needed for web development I in search of a PHP expert Programmer. Smart and problem solving oriented Expert in improving performance for large sites. D

Need ajax experienced expert as well as expert developer, PrestaShop | PHP ...

PrestaShop | PHP | JavaScript | jQuery Developer needed Want a PrestaShop | PHP | JavaScript | jQuery | Ajax experienced as well as expert developer. Following things want to be

Onload and onunload event handlers, onLoad & onUnload are mainly utilized f...

onLoad & onUnload are mainly utilized for popups that appear while the user enters or leaves the page. Another significant use is in combination along with cookies which should be

Hootesuite stream clone need help in this, Hootesuite Stream Clone We ne...

Hootesuite Stream Clone We need for a clone of the 'Streams' tab a) We must be able to add multiple search streams side by side. b) When the page is closed the search stre

Want help in website creation, Website creation I would like to get an c...

Website creation I would like to get an concept of price if I ask you to create a simple website with wordpress, Job description- WORDPRESS Web development project type- New

Event handlers, An event handler executes segment of code depend on certain...

An event handler executes segment of code depend on certain events occurring in the application, like onClick or onLoad. JavaScript event handlers can be divided in two parts: non-

I need a php pregramer, I need a PHP Pregramer In search of a PHP develo...

I need a PHP Pregramer In search of a PHP developer to program my website header I need to replace the buttons that came with the template and to add dropdown attached an JP

Implementing a multi-tenant configuration in moodle, Moodle integration ...

Moodle integration We have developed a web site with joomla that proposals to our clients different services. One service we are now realising is to integrate our joomla site

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