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

Dialog boxes in javascript, In this the user cannot switch to the window wi...

In this the user cannot switch to the window without closing the existing window.  This sort of dialog box is referred to as a modal dialog box. You generate a modal dialog box wit

I want help in api integration, I want help in API Integration The ecomm...

I want help in API Integration The ecommerce platform we use has an API as layed out and we have some third paries we would like to incorporate starting with invitebox.com. More

Want help to customize wordpress theme, Customize Wordpress theme I will...

Customize Wordpress theme I will buying theme (unless you own it) a) The theme needs to be customized b) A few hours of light graphic work c) Customizing the sidebar (l

Need help to develop online calculator, Develop Online Calculator I want...

Develop Online Calculator I want someone who sees the big picture with this project. I want an online calculator created that will utilize the inputs from users to determine wha

Want to modify an online pole, Want to modify an online pole I want some...

Want to modify an online pole I want someone who could immediately change an online pole I want someone who can get a majority of NON (NO). At least 80% Desired Skills are

Calling deferred code from a script, A function is a deferred script since ...

A function is a deferred script since it does not do anything till a function, an event, a JavaScript link, or an immediate script calls it. You have possibly noticed that you can

We need a wordpress theme development with visual composer, We need a Wordp...

We need a Wordpress Theme Development with visual composer We are in search of a WordPress Theme Developer with extraordinary skills on PHP and theme programming to realize a we

We need help for website design to html, We need help for Website design to...

We need help for Website design to HTML We are in search of an experienced HTML Developer with bootstrap and responsive skills. Job Description: We need to create HTML pag

Wordpress experts and wordpress graphic designers needed, WORDPRESS EXPERTS...

WORDPRESS EXPERTS AND WORDPRESS GRAPHIC DESIGNERS NEEDED We are a growing marketing firm looking for talented wordpress programmers who also are graphic designers. Desired Sk

Develop a program to move a text along with mouse pointer, 1. Develop ...

1. Develop a program to move a text along with mouse pointer. 2. Develop a program to change color of text randomly. 3. Develop a Web page using two image file

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