Enter your Sign on user name and password.

Forgot password?
Sign In | Subscribe
Start learning today, and be successful in your academic & professional career. Start Today!
Video file not found as configured
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

Lecture Comments (1)

0 answers

Post by Chris Colley on January 17, 2017

Why would onServer throw a 500 error? is there a setting somewhere w/in the CF admin panel that can be adjusted to fix this?

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
    Educator®

    Please sign in for full access to this lesson.

    Sign-InORCreate Account

    Enter your Sign-on user name and password.

    Forgot password?

    Start Learning Now

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

    Sign up for Educator.com

    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.