CFFORM VALIDATIOn

Help I am having a major issue. I have a cold fusion mx7
server that has a number of sites on it. I have the same script
running on two different domains on the same box. One site the form
validation works and the other it doesn't. What's can it be? Also,
it was all of a sudden. Yesterday, the form validation worked fine
on both sites. I also noticed another customer of mine who I did a
cold fusion site the form validation stopped working on his box
today as well. I know the form validation was working on all three
sites. What can it be? This is urgent!! PLEASE!!!:confused; I can
put a temporariy fix and add a virtual dir for that non working
site to the cfide folder but why should I all of a sudden have to
start doing that?

Well I ran into exactly the same issue yesterday and have
been pulling my hair out ever since. Arrrg.
I found a tech note that explains this in detail:
www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18653
I'm on a multi-homed hosting provider but you would have the
same issue with mutiple sites on your own machine.
I copied my CFIDE/scripts directory from my CF developers
edition to the root of my hosted site and it immediately worked.
You'll need to preserve the directory structure but I bet you don't
really needed anything but cfform.js and masks.js. View the source
on your browsed pages and you'll see these files.

Similar Messages

  • CFMX 7 CFFORM Validation doesn't work in 7.0.1

    We have code that's been running under CF5 and CF6.1 just
    fine, but when we moved it to CF7 all of the cfform validation
    stopped working (standard cfform w/ no additional custom
    javascript, just cfinput tags w/ required attributes). We updated
    the server to the newest version, and even applied the cumulative
    hotfix .jar file, but to no avail. Seems to be some consensus out
    there that there's a bug in version 7.0.1 where the path to the
    cfform.js file (/cfide/scripts/cfform.js) is not being translated
    properly so that the browser can find that .js include. I found a
    workaround, but I had to create a virtual directory "cfide" (that
    points to the actual cfide directory in the webroot) in IIS so that
    the mappings would work properly. This isn't terribly secure and is
    kind of a silly workaround to have to do when it worked perfectly
    under the other versions of CF and the /CFIDE mapping is in place
    in the CF Administrator. Anyone else having this issue, and beyond
    that, know if macromedia/adobe has (or is working on) a fix for
    this?
    Thanks in advance.

    That could be also, but in our case, we're not even using
    custom JavaScript. We're just using the internal cf form
    validation:
    Example:
    <cfform action="default.cfm" method="post">
    <cfinput name="firstname" type="text" required="yes"
    message="enter your name">
    <input type="submit" value="submit" name="submit">
    </cfform>
    And, unless we create an IIS virtual directory mapping to the
    CFIDE folder, even though it's in the CF Administrator mappings,
    the validation doesn't work, even though it did in previous CF
    versions.
    Thanks for the idea, though.

  • Cfform validation issue

    I have a cfform with 5 tabs. I have input boxes and submit
    forms on each tab for processing
    different data. The problem is when I'm on any of the tabs
    and hit the submit button, the client side
    validation pops up telling me that "ALL" the fields on each
    page must be filled in for the form to process.
    I don't see how this is possible if all my submit buttons has
    different names.
    Can some help me out with this asap.
    Thanks

    Even if you have a number of submit buttons, you still only
    have one form.
    So the submit button(s) will submit the entire form.
    You will need to develop some actionscript to disable the
    validation for the fields that are not relevent for the button
    clicked.
    Ken

  • Cfinput validation is not working

    I have a CF8 cfform which contains several cfinput tags set to required.  If I submit the form without fillign otu those fields, I do get the popup message displaying the error message(s) but when I click ok on that popup, it still submits the form.
    THis is a large form which I have split into 7 sections with only one visible at a time - kind of like a custom tabbed interface.
    WHen the page loads, I am using jquery to hide all but the first tab.  The last tab which contains the submit button is hidden on page load.
    It seems like if I keep the submit button visible on page load, the cfform validation works, but I want the submit button to only be displayed on the last step of this tabbed form.
    How can I get the cfform validation to work when the submit button is hidden on page load?

    Given you initially hide the submit button, how then is the form submitted?

  • Form validation problems - help

    I am having serious problems getting the cfform validation
    properties to work properly.
    When i submit an empty form it will not perform the
    javascript even though most fields are required.
    when i did a view source in the window all of the js code is
    there but it is just not working...
    are there any small details i could be missing?

    The javascript validation relies on cfform.js which is in the
    CFIDE directory. If on your install this is in a non standard place
    then it will not work unless you specify where it is.
    You do this by using the scriptSrc attribute in the cfform to
    specify it's location.

  • Cflayout, cflayoutarea and cfform - can't use target _parent?

    CF9 - I'm using a cflayoutarea within cflayout, then inside of that I have a cfform for login. When I submit my cfform it loads my login page (submitted) inside of the cflayout window, which I don't want. I've tried using target _blank, _parent, etc but it changes nothing. If I use plain old form instead of cfform with target _parent, it works fine. So does something within cfform clash with cflayout or cflayoutarea that I don't know about?

    I'm bumping my own thread because I left this alone for awhile but want to revisit.
    <cflayout name="articleManagement"...>
    <cflayoutarea name="tabAdd" source="mysourcefile.cfm" title="blah">
    <cfform action="myactionpage.cfm" method="post" name="mypage">
    </cfform>
    </cflayoutarea>
    </cflayout>
    cfform processes myactionpage.cfm and hits the cflocation at the end of the processing page, it loads mysourcefile.cfm back into my cflayout articleManagement which shows one form on top of the other. My cflocation should direct it to the main page that holds the cflayout.
    Is there a way to break out of cflayout/cflayoutarea when using cfform? Using a regular form tag does not have this problem but I like using the cfform validation.

  • CFMail Tag Issue

    I have a form on my website that use the cfmail tag to send
    information collected from a form via email. I am no longer getting
    the email submitted from the form yet I'm also not getting an error
    and I haven't changed anything. I suspect it's a relay issue but my
    Sys Adm insist it's not and suggest I use mailto: I don't see the
    point of using a client side solution when I have a server side
    (and probably better) solution already in place.
    I have listed the code I'm using to process the form for
    reference in case I am missing something. Could anyone shed some
    light on this for me. If it's not my code what are the downsides to
    using a client side solution such as mailto ?
    Thanks

    I'm assuming the isDefined leadershipopp and joinassociation
    are checkboxes.
    But..
    If for any reason one of the other form elements wasn't
    defined, you'd have an error condition.
    Wrap the cfmail tag in a cftry block and then in the cfcatch
    email an admin email with the cfcatch.message and cfcatch.detail.
    Make sure you validate the form.email format, check cflib.org
    for a udf for this. you could also use cfform validation routines.
    An invalid email will throw an error.
    Additionally, use cfparam tags for each of the form elements
    with a default value.

  • Need to find _CF_checkCFForm

    At the beginning of each page with a form that CF renders, it
    puts a JS function called _CF_checkWhateverForm. I need to find
    where in the guts of ColdFusion it is creating this function. When
    it tries to put the cursor in the first failed validiation area, it
    doesn't check if it's possible (in my case it's not sue to the fact
    that its hidden). I want CF to generate that block of code in a
    try/ catch block. Where do I find that part of the inner
    workings?

    The setFocus('focusExample') is a function that iterates over
    the form named "focusExample" and sets the focus listener on the
    form elements. In the example I provided, it uses a green halo
    effect around text fields when focused.
    The manualSubmission() function first calls the CFFORM
    validation routine and then grabs the first error field if the form
    doesn't validate. You would add your additional checks to the
    checkForOther().

  • Spry validation and CFFORM

    I am using Spry validation on some of my forms and noticed
    that if I am using CFFORM, the validation works, but the form is
    still allowed to submit if the validation fails. If I change the
    cfform tags to regular form tags the validation works and the
    submit is NOT allowed. I really need to use CFFORM. Does anyone
    know what is happening here? Why is the form submitting even though
    the spry validation failed. ???

    Can we use onsubmit for simple form.
    Like below
    <form action="index2.php" method="post" name="loginForm"
    id="loginForm" style="clear: both;" onsubmit="return
    Spry.Widget.Form.validate(this)">
    <span id="username">
    <input name="username" id="username" type="text"
    class="inputbox" size="15" />
    <span class="textfieldRequiredMsg"> Username
    required</span>
    </span>
    <span id="password">
    <input name="passwd" id="password" type="password"
    class="inputbox" size="15" />
    <span class="textfieldRequiredMsg">Password
    required</span>
    </span>
    <a onClick="loginForm.submit();"> Login </a>
    </form>
    <script type="text/javascript">
    <!--
    //Text Field Vlidation
    var username = new
    Spry.Widget.ValidationTextField("username", "none", {minChars:1,
    maxChars:200, validateOn:["blur"]});
    var password = new
    Spry.Widget.ValidationTextField("password", "none", {minChars:1,
    maxChars:200, validateOn:["blur"]});
    //-->
    </script>

  • CFFORM and validation widget

    if you use a cfform this normally overwrites the spry
    validation at submit. Call on your cfform the validate() function
    on submit action. You should have something like: if
    (Spry.Widget.Form.validate(form) == true)....
    On submit check if the validate() function returns true or
    false. If true, continue submission, if false trigger the spry
    validation.
    Does anyone have a sample of the code, or more detailed
    information on the code reffered to above. I have included my code
    below:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry/">
    <head>
    <title>Admissions Application</title>
    <cfinclude template="/head/app.htm" />
    <script type="text/javascript">
    <!--
    function ValidateForm(form){
    if(Spry.Widget.Form.validate(form)==true)
    return true;
    //-->
    </script>
    </head>
    <body>
    <div id="container" style="background-image:none;">
    <div id="header">
    <cfinclude template="/templates/header.htm" />
    </div>
    <img id="leafBottom" src="/images/rightNavLeaf.png"
    alt="" />
    <div id="content">
    <cfform method="post" name="app" id="application"
    action="" onsubmit="javascript:return ValidateForm(this)"
    enctype="x-www-form-urlencoded">
    <div id="box">
    <h1>I.D. and Name Information</h1>
    <p class="section">Section 1 of 7</p>
    <h3>Social Security Number</h3>
    <div id="thessn">
    <label for="ssn"><span
    class="required">*</span>Social Security
    Number:</label>
    <p><cfinput id="ssn" class="field" name="ssn"
    type="text" size="10" />
    <span class="textfieldRequiredMsg">Please enter your
    social security number.</span>
    <span class="textfieldInvalidFormatMsg">Please enter a
    valid social security number.</span></p>
    </div>
    <div id="thessn2">
    <label for="ssn2"><span
    class="required">*</span>Re-enter Social Security
    Number:</label>
    <p><cfinput id="ssn2" class="field" name="ssn2"
    type="text" size="10" />
    <span class="textfieldRequiredMsg">Please re-enter
    your social security number.</span>
    <span class="textfieldInvalidFormatMsg">Please enter a
    valid social security number.</span>
    <span class="confirmInvalidMsg">Social Security
    entires do not match.</span></p>
    </div>
    <p><cfinput class="field" type="submit" name=""
    value="Submit Application" /></p>
    </div>
    </cfform>
    <script type="text/javascript">
    <!--
    var thessn = new Spry.Widget.ValidationTextField("thessn",
    "social_security_number", {isRequired:"true", validateOn:["change",
    "blur"]});
    var thessn2 = new Spry.Widget.ValidationTextField("thessn2",
    "social_security_number", {isRequired:"true", validateOn:["change",
    "blur"]});
    var spryconfirm = new
    Spry.Widget.ValidationConfirm("thessn2", "ssn");
    //-->
    </script>
    </div>
    <div id="footer">
    <cfinclude template="/Templates/footer.htm" />
    </div>
    </div>
    </body>
    </html>

    if you use a cfform this normally overwrites the spry
    validation at submit. Call on your cfform the validate() function
    on submit action. You should have something like: if
    (Spry.Widget.Form.validate(form) == true)....
    On submit check if the validate() function returns true or
    false. If true, continue submission, if false trigger the spry
    validation.
    Does anyone have a sample of the code, or more detailed
    information on the code reffered to above. I have included my code
    below:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry/">
    <head>
    <title>Admissions Application</title>
    <cfinclude template="/head/app.htm" />
    <script type="text/javascript">
    <!--
    function ValidateForm(form){
    if(Spry.Widget.Form.validate(form)==true)
    return true;
    //-->
    </script>
    </head>
    <body>
    <div id="container" style="background-image:none;">
    <div id="header">
    <cfinclude template="/templates/header.htm" />
    </div>
    <img id="leafBottom" src="/images/rightNavLeaf.png"
    alt="" />
    <div id="content">
    <cfform method="post" name="app" id="application"
    action="" onsubmit="javascript:return ValidateForm(this)"
    enctype="x-www-form-urlencoded">
    <div id="box">
    <h1>I.D. and Name Information</h1>
    <p class="section">Section 1 of 7</p>
    <h3>Social Security Number</h3>
    <div id="thessn">
    <label for="ssn"><span
    class="required">*</span>Social Security
    Number:</label>
    <p><cfinput id="ssn" class="field" name="ssn"
    type="text" size="10" />
    <span class="textfieldRequiredMsg">Please enter your
    social security number.</span>
    <span class="textfieldInvalidFormatMsg">Please enter a
    valid social security number.</span></p>
    </div>
    <div id="thessn2">
    <label for="ssn2"><span
    class="required">*</span>Re-enter Social Security
    Number:</label>
    <p><cfinput id="ssn2" class="field" name="ssn2"
    type="text" size="10" />
    <span class="textfieldRequiredMsg">Please re-enter
    your social security number.</span>
    <span class="textfieldInvalidFormatMsg">Please enter a
    valid social security number.</span>
    <span class="confirmInvalidMsg">Social Security
    entires do not match.</span></p>
    </div>
    <p><cfinput class="field" type="submit" name=""
    value="Submit Application" /></p>
    </div>
    </cfform>
    <script type="text/javascript">
    <!--
    var thessn = new Spry.Widget.ValidationTextField("thessn",
    "social_security_number", {isRequired:"true", validateOn:["change",
    "blur"]});
    var thessn2 = new Spry.Widget.ValidationTextField("thessn2",
    "social_security_number", {isRequired:"true", validateOn:["change",
    "blur"]});
    var spryconfirm = new
    Spry.Widget.ValidationConfirm("thessn2", "ssn");
    //-->
    </script>
    </div>
    <div id="footer">
    <cfinclude template="/Templates/footer.htm" />
    </div>
    </div>
    </body>
    </html>

  • Cfform regex validation message

    I have a problem returning my message text when validating a
    cfinput field against a regular expression on CF8, as follows:
    <cfinput type="text" name="AddrTitle" id="AddrTitle"
    size="50" maxlength="250" value="#AddrTitle#"
    validate="regular_expression" pattern="[\w_-]*"
    validateat="onsubmit,onserver" message="Use only alphanumeric
    characters or - (dash) or _ (underscore) only for the address bar
    title" />
    Instead of a javascript pop-up message (which I would
    expect), I get the server response using the default CF error
    response (The value entered in the field ADDRTITLE is not correctly
    formatted for the pattern [\w_-]*.)
    In the same form, a date field validates just fine and
    displays my message text properly, both in a javascript message box
    or server side, when I have disabled javascript, so the cfform.js
    file is available (I have checked this though the address bar too).
    Does anyone know why the regex validated field isn't
    displaying my custom message?

    Hi,
    Automatically, you can include only whole validation in your change request. But, you can create a manual change request for this message only. This definition is stored in GB931 table.
    Regards,
    Eli

  • CFFORM (Flash) Validation with Regular Expressions Not Working

    I am having troubles getting regular expression validation to
    work in a CFFORM. The below code is an extract of a much larger
    form, the first name and last name have a regular expression
    validation...and it doesn't work!
    I'd appreciate any comments/info for help on this, have
    searched high and low on information to get this working...but no
    joy.
    The code is:
    <cffunction name="checkFieldSet" output="false"
    returnType="string">
    <cfargument name="fields" type="string" required="true"
    hint="Fields to search">
    <cfargument name="form" type="string" required="true"
    hint="Name of the form">
    <cfargument name="ascode" type="string" required="true"
    hint="Code to fire if all is good.">
    <cfset var vcode = "">
    <cfset var f = "">
    <cfsavecontent variable="vcode">
    var ok = true;
    var msg = "";
    <cfloop index="f" list="#arguments.fields#">
    <cfoutput>
    if(!mx.validators.Validator.isValid(this,
    '#arguments.form#.#f#')) { msg = msg + #f#.errorString + '\n';
    ok=false; }
    </cfoutput>
    </cfloop>
    </cfsavecontent>
    <cfset vcode = vcode & "if(!ok)
    mx.controls.Alert.show(msg,'Validation Error'); ">
    <cfset vcode = vcode & "if(ok) #ascode#">
    <cfset vcode =
    replaceList(vcode,"#chr(10)#,#chr(13)#,#chr(9)#",",,")>
    <cfreturn vcode>
    </cffunction>
    <cfform name="new_form" format="flash" width="600"
    height="600" skin="halosilver" action="new_data.cfc">
    <cfformgroup type="panel" label="New Form"
    style="background-color:##CCCCCC;">
    <cfformgroup type="tabnavigator" id="tabs">
    <cfformgroup type="page" label="Step 1">
    <cfformgroup type="hbox">
    <cfformgroup type="panel" label="Requestor Information"
    style="headerHeight: 13;">
    <cfformgroup type="vbox">
    <cfinput type="text" name="reqName" width="300"
    label="First Name:" validate="regular_expression" pattern="[^0-9]"
    validateat="onblur" required="yes" message="You must supply your
    First Name.">
    <cfinput type="text" name="reqLname" width="300"
    label="Last Name:" validate="regular_expression" pattern="[^0-9]"
    validateat="onblur" required="yes" message="You must supply your
    Last Name.">
    <cfinput type="text" name="reqEmail" width="300"
    label="Email:" validate="email" required="yes" message="You must
    supply your email or the address given is in the wrong format.">
    <cfinput type="text" name="reqPhone" width="300"
    label="Phone Extension:" validate="integer" required="yes"
    maxlength="4" message="You must supply your phone number.">
    </cfformgroup>
    </cfformgroup>
    </cfformgroup>
    <cfformgroup type="horizontal"
    style="horizontalAlign:'right';">
    <cfinput type="button" width="100" name="cnt_step2"
    label="next" value="Next"
    onClick="#checkFieldSet("reqName,reqLname,reqEmail,reqPhone","new_form","tabs.selectedInd ex=tabs.selectedIndex+1")#"
    align="right">
    </cfformgroup>
    </cfformgroup>
    </cfformgroup>
    </cfformgroup>
    </cfform>

    quote:
    Originally posted by:
    Luckbox72
    The problem is not the Regex. I have tested 3 or 4 different
    versions that all work on the many different test sites. The
    problem is it that the validation does not seem to work. I have
    changed the patter to only allow NA and I can still type anything
    into the text box. Is there some issue with useing Regex as your
    validation?
    Bear in mind that by default validation does not occur until
    the user attempts to submit the form. If you are trying to control
    the characters that the user can enter into the textbox, as opposed
    to validating what they have entered, you will need to provide your
    own javascript validation.

  • Cfform with cfinput validation producing different error messages

    I have a cfm that is using cfform and cfinput.  There are 7 text fields and one checkbox.  The 7 fields are all required and the checkbox must be checked. Sometimes the javascript behaves differently.  Sometimes I get an individual alert for each field that is blank and if the checkbox is not checked. 
    Most times, the error messages for the fields are grouped and displayed in a single alert.  From the looks of the java script that is generated by cold fusion, it should always group the error messages and display them in a single alert.
    On the occasions when I get the individual alerts popping up, the validation on the checkbox also does not work.  The validation fails whether the checkbox is checked or not.
    Tests were conducted in IE9 and Firefox 24 on Windows 7.
    Any idea why the java script would work differently?  Is it possible there is an old version of CF that is being picked up sometimes?

    Which version of ColdFusion are you using?  Regardless, you're better of these days ditching cfinput and cfform if possible, and writing your own Javascript (or using a proper JS framework).

  • Is there a way to bypass the form Validation

    I'm getting really upset with the Coldfusion built-in form validation for any HTML formfield ending by _date , _required, _time and so on...
    My application proposes to the users to create some Properties for an object and later on to modify the values for all these properties.
    I've got a piece of code building dynamically some form fields named just like the properties (by a simple cfloop on a DB query getting the property list).
    And a registering page to records the new value in the DB.
    But it crashes onto the classical "
    Form entries are incomplete or invalid.
    I can't control what the users set as property name (one of them was Checklist_required).
    Is there any way to prevent this error by disabling this auto validation ?
    (I'd like to avoid having to rename any field dynamically created and rename any forms variables before registering them on the DB : it's just NO WAY for me to rename the properties created by the users)

    Fober1, that's not how it works.  It's pretty much the ultimate example of the disjoint between how HTML forms work and how the naive CFML Cfform / cfinput design wished they work.
    When a request is being processed by the coldfusion server, it just looks at the list of FORM (POST) variable names (whether it came from cfform or not; URL/GET params are exempt), and for those with certain suffixes (_date, _required, etc.), and it assumes their existence is intended to request validation another field without that suffix.  It doesn't actually know or care whether form submission, nor the HTML rendered in the user's browser, actually came from "cfform" or "cfinput".   The composition of the request that comes in (when a user clicks on "submit", or a hacker uses any tool imaginable) is out of the server's hands.  The cfform code is not used during form submission processing, because the receiving template (the form action="this_one.cfm") doesn't even have to be the same template that has the cfform in it. There could be multiple conflicting cfforms directing users to request the same template on a single site, with or without the validation, even without considering what a whole other person might decide to send to your server.
    The fact that it can work as intended for a typical user is irrelevant, because the purpose of validation is to deal with the atypical situation.  A malicious or merely mischievous user that wanted to circumvent the validation would simply modify a copy of the page to leave out the "validation request" fields.    For the developer to truly validate the input, additional code must be written, making the feature not only inadequate, but a complete waste of time.  There absolutely should be a way to disable it at worst; Ideally, it would be taken out of coldfusion completely.  It's not only useless, it's a security risk, wooing programmers to write code that doesn't do what they think it does.
    The error message it gives isn't so great, either, and it's a pity that it can't show more than one validation message at a time, either.  If more than one input is invalid, you could end up going through one round after another of submit + back button.
    edit: I forgot to add the other important reason that this feature should never have existed: It is a nuisance to everyone else who doesn't want to use it at all, too!  Those suffixes simply couldn't have been a worse choice, colliding with probably thousands of peoples' variable names.  Why not "*_cfval_date" "*_cfval_time" etc?

  • Is there a way to hide email on view source when validation error found using validateAt = onServer?

    I'm confused!
    Here's what I'm doing. I have two seperate files, one is
    form.cfm and one is formdo.cfm.
    On form.cfm, I have the cfform, that takes a name, email,
    phone number, and message and is set with validateAt onSubmit and
    onServer with correct syntax in the code. the cfform action is set
    to formdo.cfm.
    formdo.cfm is the other file that handles all the form data
    and uses cfmail to send it to an email address. formdo.cfm grabs
    all the input fields from form.cfm and shoots out an email with all
    the form inputs. I've tested all of this and it sends an email and
    the form contents as it should.
    So next, I tested the onServer validation with Javascript
    off, and sure enough it told me I had an error and to go back and
    fix it.
    Good there, except when I viewed the source on the server
    validation page, it shows the email address in English even when
    encoded with the character entities. However, if you just call this
    file up by it's URL/formdo.cfm it shows the character entities that
    I entered. I know this is because the server has already
    interpreted it but I'm wondering if spambots can steal that
    'interpreted' email address and I don't especially like the fact
    that a real person can view it in source of the server validation
    page. (since I viewed the email address myself in plain english in
    the source of the server validation.)
    So how can I hide this email besides character entities? Or
    are there any other anti-spambot considerations that someone could
    offer me?
    Thanks for reading this!
    Some additional info on the code in formdo.cfm (syntax is
    correct in actual code but written out here):
    cfmail to = email_as_character_entities
    from = POUND_Email_From_Last_Page_POUND

    I got it going now, although I gave up my character
    entities (which I could've swore were working before I made this
    minor change.)
    So here's what happened. CF was throwing an 'hidden error' in
    the source... it didn't like that email string length wasn't 0 or
    more characters. Which got me wondering how that could be if I
    entered something like 'invalid' in the email box, why doesn't that
    qualify as 7 characters? So then I tried putting a space in the
    cfparam for the email="" to now being email = " " now theres a
    space in between quotes... and that helped a little but then didn't
    really because it was still showing the email with the entities.
    Okay, sort of there. Then, I realized is that I left out all of the
    isNot possibilities, so I plugged all those in, and bam!, no more
    email in the source! Actually, a whole lot less in the source, just
    my 'thank you for the message' message without even a reference to
    email OR the cf error in the source! Pretty cool! Well, thanks
    anyhow for responding anyhow because it's good to know someone is
    willing to help! Oh btw, this was all on CF8.

Maybe you are looking for