Hidden input, PHP Web Programming

Assignment Help:

Yet another kind of input is HIDDEN input.

<INPUT TYPE=HIDDEN NAME="FORMNAME" VALUE="Friend Form 1">

A HIDDEN input is a name/value pair which is returned to you but does not illustrates anywhere on the web page. The hidden input above is required for use with the mailto Formatter (MTF). This is how MTF identifies the forms it has to parse.

Assume you were a company attempting to generate leads for a new product. You have a standard form for collecting information that has name, phone, company, products interested in, etc. The only problem is there are six slightly distinct versions of the form in six different places. You need to make out what is coming from where and what to do?

You could add up a HIDDEN input to your forms such as:

<HTML>

<BODY>

<FORM METHOD=POST>

<INPUT TYPE=HIDDEN NAME="FORMNAME" VALUE="Version 1"> the first version

<INPUT TYPE=HIDDEN NAME="FORMNAME" VALUE="Version 2"> the second version

<INPUT TYPE=HIDDEN NAME="FORMNAME" VALUE="Version 3"> the third version

</FORM>

</HTML>

By the way, this doesn't matters what the name/value pair in the hidden input is (or any input for that matter).

<INPUT TYPE=HIDDEN NAME="E" VALUE="Mc^2"> HIDDEN inputs are also useful for cgi scripts. For instance, numerous Internet Service Providers have a script you can have your forms sent to. Then it sends the form back to you correctly formatted. The hidden input might be used to tell the cgi script that who you are, where to send the parsed data, and so on.


Related Discussions:- Hidden input

Explain different types of statement which are there in php, What are the d...

What are the different types of statements which are present in PHP? There are four types of PHP statements which are present. They are as follows: • Simple statement- the

Design and implement a frame-based personal web page, Design and implement ...

Design and implement a frame-based personal Web page. Include everything that you would like to share with your friends. This must include but not limited to: A short biogra

World wide web, The World Wide Web is defined as a "wide area hypermedia in...

The World Wide Web is defined as a "wide area hypermedia information initiative amongst to provide universal access to big universe of documents". World Wide Web gives users on com

Review business needs and completed designs, SEO skills are of paramount im...

SEO skills are of paramount important and expertise in HTML, CSS, Wordpress are critical. Our designs will be provided, we simply require a team to help code the site and employ th

I want to develop a discussion board and classifieds, I want to develop a D...

I want to develop a Discussion Board/Classifieds I'm seeking to create a discussion board/classifieds for the community I live in I do like to know what platform you'd use an

Presentation layer - osi model layer, Presentation layer: While two hosts ...

Presentation layer: While two hosts are communicating with each other they might employ distinct coding standards & character sets for internally representing data. This layer is

Need joomla upgrade, Joomla Upgrade It has come to our attention that yo...

Joomla Upgrade It has come to our attention that you have at least one installation of Joomla 1.5.x - 2.5.16. The 1.5.x version has been deprecated by Joomla for over a year,

I need help for website design and development, I need help for Website Des...

I need help for Website Design and Development Required Looking for a talented and experienced designer and developer for a new website. The site is a combination of social netw

Establish a database connection to a mysql server, Question: (a) What ...

Question: (a) What PHP code snippet is used to establish a database connection to a MySQL server using the MySQL improved API? (b) What are the advantages of using sto

Needed a front-end developer, Front-end Developer As a freelance front-e...

Front-end Developer As a freelance front-end developer, you will be appointed on a per-project basis. You will be accountable for the production, modification and maintenance of

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