27-HTML Hidden Field

0
245

This tutorial is all about HTML Hidden Field.
Hidden fields allow a developer to submit values to form elements precisely.

 

A web developer used these fields as session-based data to pass it from a form to another form or put data that has been placed by the users.

 

Example:

<form name="myForm" action="process.php" method="post">
Firstname: <input title="Enter Your First Name" id="fname" name="fname" type="text" size="16" maxlength="16" />
Lastname: <input title="Enter Your Last Name" id="lname" name="lname" type="text" size="16" maxlength="26" /><br />
Password: <input type="password" title="Enter Your Password" size="20" maxlength="20" /><br /><br /><br />

<input type="hidden" name="itemId" id="itemId" value="0024" /> 

<input type="submit" value="Save" /><input type="reset" value="Reset" />
</form>

 

 

Readers might read also:

 

 

 

Facebook Comments
(Visited 13 times, 1 visits today)

LEAVE A REPLY

Please enter your comment!
Please enter your name here