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

Opencart extension and integration with ebay similar site, OpenCart Extensi...

OpenCart Extension and integration with Ebay similar site We want an integration extension among OpenCart and the overstock/deal website Fyndiq.se Required functionality a

In search of experienced cake php coder to help in launch, In search of exp...

In search of experienced Cake PHP coder to help in launch of new site We are seeking someone to assist our small team of developers to handle minor code tweaks as well as error

Input text field, The field size attribute determines the width of the disp...

The field size attribute determines the width of the displayed field. The maxlength attribute sets a limit on the maximum number of characters that can be typed in the field (whic

Help to create magento website for high end goods, Help to create Magento W...

Help to create Magento Website for High end goods Hello, please reply with a proposal that displays an plugins that may be needed that aren't standard with Magneto I am initi

Wordpress theme fix to crashes is internet explorer, wordpress theme fix (c...

wordpress theme fix (crashes is internet explorer) My site idlayouts.com is crashing in internet explorer. I want someone to fix this problem as well as make sure the site is

Need help to create amazon affiliat store, Amazon Affiliat Store I need ...

Amazon Affiliat Store I need your services to build me an Amazon Affiliate Webstore (for Health as well as Personal Care Products). Script must import inventory from amazon. Int

Prepare a marketplace which will be dedicated to handicrafts, We aim to pre...

We aim to prepare a MarketPLace which will be dedicated to handicrafts. The concept is to provide artists the ability to sell their products via a MarketPlace similar to etsy or ar

I desire help in wordpress developer, I need help in WordPress Developer ...

I need help in WordPress Developer I am in search of a long term WordPress developer We will begin with a trial project. You have to develop a WordPress theme from scratch.

Messagebox in javascript, In this section, we learn about the dialog boxes....

In this section, we learn about the dialog boxes. This topic is significant for understanding the way parameters are passed among distinct windows. This mechanism is key component

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