Changes between Version 6 and Version 7 of QuickStart/5:ValidatingaForm
- Timestamp:
- 12/02/09 15:45:06 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
QuickStart/5:ValidatingaForm
v6 v7 75 75 76 76 {{{ 77 <cfset submit = viewstate.getValue("myself") & viewstate.getValue("xe.translate") />77 <cfset submit = event.linkTo( event.getValue("xe.translate") ) /> 78 78 79 79 <cfform action="#submit#"> 80 <cfinput type="text" name="phrase" required="false" value="# viewstate.getValue("phrase")#" />80 <cfinput type="text" name="phrase" required="false" value="#event.getValue("phrase")#" /> 81 81 <input type="submit" value="Ok" /> 82 82 83 <cfif viewstate.exists("phraseError")>84 <cfoutput><p style="color: red;"># viewstate.getValue("phraseError")#</p></cfoutput>83 <cfif event.exists("phraseError")> 84 <cfoutput><p style="color: red;">#event.getValue("phraseError")#</p></cfoutput> 85 85 </cfif> 86 86 </cfform> 87 87 }}} 88 88 89 89 ---- 90 90
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)