When we set a hidden input field in the form using the<input> tag and set the type attribute to "hidden".we discussed in the HTML Input and HTML Textfields tutorials.
Example:
Your Result:
Example:
<form name="HTML Form" action="mailto:youremail@email.com" method="post"> First: <input title="Enter Your First Name" id="first" name="first" type="text" size="12" maxlength="12" /> Last: <input title="Enter Your Last Name" id="last" name="last" type="text" size="16" maxlength="25" /><br /> Password: <input type="password" title="Enter Your Password" size="10" maxlength="9" /><br /><br /> <input type="hidden" name="orderNumber" id="orderNumber" value="0234" /><br /> <input type="submit" value="SUBMIT" /> <input type="reset" value="RESET" /> </form>
Your Result:
No comments:
Post a Comment