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 am seeking a web developer- frontend as well as backend, Web developer (F...

Web developer (Frontend and Backend) I am seeking a Web Developer- Frontend as well as Backend to create a responsive website very similar to Zomato Your responsibilities-

I need creative web page developer, I need Creative Web Page Developer P...

I need Creative Web Page Developer Project Description: I'm seeking a creative and skilled developer to assist in developing our web pages. Our pages aim a certain marked wit

Want javascript expert, Want JavaScript expert I need JavaScript expert ...

Want JavaScript expert I need JavaScript expert for urgent job please. A plugin in wordpress wont work due to a js file being called that shouldn't be. Quick fix needed Desir

Need help in php work on site to fixes, PHP Work on site - fixes, additions...

PHP Work on site - fixes, additions Require some work re-done on seo friendly url creation from vsadmin module of e-commercetemplates.com. a) The SEO checkbox to create NEW c

Tcp - ip networking model, This is an acronym for Transmission Control Prot...

This is an acronym for Transmission Control Protocol / Internet Protocol. This is a collection of applications, protocols and services. TCP/IP protocol was developed prior to the O

What are the different types of runtime errors in php, Question: (a) W...

Question: (a) What are the different types of Runtime Errors in PHP? (b) What are the differences between GET and POST methods in form submission? Briefly explain in

I want help in opencart (mijoshop) dev, I want help in Opencart (MijoShop) ...

I want help in Opencart (MijoShop) dev -Bespoke Duty/Vat and shipping We have a client who vends wines which are either purchased to be shipped to the customer (as standard) OR

Seeking web developer/programmer for unique lead gen website, Seeking Web D...

Seeking Web Developer/Programmer for unique lead gen website 1) potential customers come to website and post services they need 2) providers make offers to post 3) both cu

Develope web app built with php, I have a web app built with PHP//node.js/ ...

I have a web app built with PHP//node.js/ backbone /MySQL/kinetic.js/ jQuery/canvas, and I would like to consult with someone with substantial experience in mobile game development

Define the document page title, Define the Document Page Title However t...

Define the Document Page Title However the document has a file name, notice it is labelled Untitled Document still; that is because it required an HTML document name, or page ti

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