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

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

We need help in woocommerce design & programming adjustments, We need help ...

We need help in Woocommerce Design & Programming Adjustments +mysql Woocommerce & Wordpress Programming should have experience in Woocommerce and Wordpress php programming. A

Need magneto development for changes to a custom module, Magneto Developmen...

Magneto Development - Changes to a custom module We are consist an Instagram image upload module built for our Magneto based website. The developer of this module is no longe

Basic tags of html, Let us now discuss tags in more detail. A command the ...

Let us now discuss tags in more detail. A command the browser to do something. An ATTRIBUTE goes inside the & tells the browser how to do it.  A tag might h

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

Colspan and rowspan, Now let us see how to deal with ROWSPAN (Row Span) and...

Now let us see how to deal with ROWSPAN (Row Span) and COLSPAN (Column Span). If we desire the cell containing Ajay in Figure to be extended to the next cell as well and make th

Seeking a five to six page content driven website, FF-Greek Dairy Website ...

FF-Greek Dairy Website Seeking a 5-6 Page Content driven website for a diary to feature products from the store, The aptitude to edit from the back-end any pictures and product

Telnet, TELNET is TErminal NETwork. Telnet is both a TCP/IP application & a...

TELNET is TErminal NETwork. Telnet is both a TCP/IP application & a protocol for connecting a local computer with a remote computer. It is a program which allows an Internet host c

I need help in zend two general updates, I need help in Zend two General Up...

I need help in Zend two General Updates I am in necessity of a few updates which will include working on a form, creating new functions as well as creating a few models in the Z

What is post and get methods, Which will execute faster POST or GET method?...

Which will execute faster POST or GET method? GET minaly transfer data to the server using URL while POST transfer data using form collection that is added to the request by th

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