Sign In | Subscribe
Start learning today, and be successful in your academic & professional career. Start Today!
Loading video...
This is a quick preview of the lesson. For full access, please Log In or Sign up.
For more information, please see full course syllabus of ColdFusion 9
  • Discussion

  • Study Guides

  • Table of Contents

Bookmark and Share

Start Learning Now

Our free lessons will get you started (Adobe Flash® required).
Get immediate access to our entire library.

Sign up for

Membership Overview

  • Unlimited access to our entire library of courses.
  • Search and jump to exactly what you want to learn.
  • *Ask questions and get answers from the community and our teachers!
  • Practice questions with step-by-step solutions.
  • Download lesson files for programming and software training practice.
  • Track your course viewing progress.
  • Download lecture slides for taking notes.
  • Learn at your own pace... anytime, anywhere!

Adding ColdFusion Validation

  • Create a form validation page with this info
  • Client side vs server side
  • Client side options
  • DW behaviors – only validates text fields & text areas & not user friendly messages
  • CF creates – we will look at CFFORM tag in the CF form movie section
  • Write your own JS – must know JS
  • Server side options
  • CF – let CF do it
  • Write your own – use CF to create your own validations
  • Must think of every way the user can fill in the form
  • Add if statement to test for a value
  • Is defined & if
  • Instead of default value, send user back to the other page with an error url attached
  • Use url var in code, pop up red area with error message
  • Have form page if stmt, if the url var, pop up a message in red
  • Have pre-built, just explain the process & add url var going back to form tag