ColdFusion Tutorial

Adding a Reset button to the form

The Reset button will reset (blank) all the fields in the form.

The syntax for the reset button is very similar to the Submit button.

<input type="reset" value="Reset">

form1.cfm

<form action="form2.cfm" method="post" name="form1">

First Name:<input name="first_name" type="text" size="20" maxlength="20">

<br>

Last Name:<input name="last_name" type="text" size="20" maxlength="20">

<br>

<input name="upload_person" type="submit" id="upload_person" value="Submit -->">

<input type="reset" value="Reset">

</form>

form2.cfm

First Name: <cfoutput>#Form.first_name#</cfoutput>

<br>

Last Name: <cfoutput>#Form.last_name#</cfoutput>

ColdFusion Tutorial test

Adding a Reset button to the form

No test is available or implemented for this ColdFusion Tutorial.

No User Comments.

No User Comments, be the first one to write your comments?

Add your comments

Your Name*:
Your Email:
Site URL:
Site Name:
Comemt Title*:
Your Comment*:
Key Phrase*:
1Kt
Your IP Address: 38.103.63.62
 

ScandicWeb is own by Scandic Systems LTD [UK] Company No. 5984000. All other trademarks and copyrights are the property of their respective holders.

[Home [Site Map [Privacy Statement [Site Feedback] [About ScandicWeb]


[ColdFusion [Flash [Search Engine Optimization [Graphics [Cascading Style Sheets (CSS) [JavaScript (JS) [Software]

Partner sites: ScandicSoft


Server time: 19. November 2008 Wednesday