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

We need help to develop personal trainer website, We need help to develop P...

We need help to develop Personal Trainer Website The logo is already done thus the site needs to be designed inline with the logo look and feel. Pages required are- a) Hom

I want help in vbulletin clean and update, I want help in vBulletin clean a...

I want help in vBulletin clean and update I have an installation of vBulletin that has been compromised, I have taken some steps to secure my installation but I need someone to

Html tag, As illustrated in Figure., is a starting tag. To delimit the tex...

As illustrated in Figure., is a starting tag. To delimit the text inside, add closing tag by a "/" to the starting tag. Most but not all tags contains a closing tag. I

Simple website development with affiliate features, Simple website developm...

Simple website development with affiliate features I want to create quite simple website that would refer to other websites in order to benefit from their affiliate programs (af

Convert a non-responsive wordpress theme to responsive theme, Convert a non...

Convert a non-responsive wordpress theme to responsive Twitter Bootstrap3 My website is a none responsive wordpress theme. I want to translate this theme into responsive theme u

Build an online website program to integrate software, Simple user friendly...

Simple user friendly webpage that will replace a hotel reception on a basic scale for normal check-ins and check outs. Hotel Software experience a vital part. To chiefly buil

Text area, specify a form field where the user can enter large amounts of t...

specify a form field where the user can enter large amounts of text. In most respects, works as an field. It can contain a name and

Adding ssi server-side include to the page, Step 1: Click on the icon withi...

Step 1: Click on the icon within the object tool bar               Or Insert -> SSI Step 2: choose the file Step 3: Add the file Step 4: Give the URL (where to be

We need help in site coding, We need help in Site coding I have set up a...

We need help in Site coding I have set up a marquee using a jquery plugin. a) I want to duplicate that marquee action across multiple sites using iframe or some such so that

We need help to fix drupal 5.0 site, We need help to Fix Drupal 5.0 site. A...

We need help to Fix Drupal 5.0 site. Authorize.net not working We have a Drupal 5.0 site that abruptly isn't connecting with Authorize.net. Fundamentally, we are having some

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