See the two references to /bluedragon/scripts/nameoffile.js

Is there a blue dragon path in your site and are those files included in
there ?

Thanks

Alex



On 13 December 2011 12:05, ogrehulk <[email protected]> wrote:

> Sorry for this post, but I cannot seem to get an answer that I
> understand :-)
>
> My form in HTML source code is this:
>        <cfform id="form1" name="form1" method="post"
> action="administration/requestCredentials.cfm">
>            <p align="center">
>                <strong>Full Name:</strong>
>                <cfinput type="text" name="FullName" required="yes"
> id="FullName" size="35" />
>            (Required)</p>
>            <p align="center">&nbsp;</p>
>            <p align="center">
>                <strong>Username:</strong>
>                <input name="Username" type="text" id="Username"
> size="35" />
>            (Optional)</p>
>            <p align="center">&nbsp;</p>
>            <p align="center">
>                <strong>Email:</strong>
>                <cfinput type="text" name="EmailAddress"
> validateat="onSubmit" validate="email" required="yes"
> id="EmailAddress" size="41" />
>            (Required)          </p>
>            <p align="center">&nbsp;</p>
>          <div align="center">
>                <input type="submit" name="submit"  value="Submit
> Form" />
>                </p>
>            </div>
>        </cfform>
>
> When I view source from the website, I see this:
>
> <script type="text/javascript" src="/bluedragon/scripts/cfform.js"></
> script>
> <script type="text/javascript" src="/bluedragon/scripts/mask.js"></
> script>
> <script language="javascript">
> <!--
>  cfform_submit_status["form1"]=null;
>
>  function check_TF_form1( theForm ){
>    cfform_isvalid = true;
>    cfform_error_message = "";
>    cfform_invalid_fields = new Object();
>
>    if ( !tf_element_has_value( theForm['FullName'], "_TEXT" ) ){
>      tf_on_error( theForm, "FullName", theForm['FullName'].value,
> "Please provide a valid value" );
>    }
>    if ( !tf_element_has_value( theForm['EmailAddress'], "_TEXT" ) ){
>      tf_on_error( theForm, "EmailAddress",
> theForm['EmailAddress'].value, "Please provide a valid value" );
>    }
>    if ( !tf_validate_email( theForm['EmailAddress'] ) ){
>      tf_on_error( theForm, "EmailAddress",
> theForm['EmailAddress'].value, "Please provide a valid value" );
>    }
>    if ( cfform_isvalid ){
>      return true;
>    }else{
>      alert( cfform_error_message );
>      return false;
>    }
>  }
>
> //-->
> </script>
>
> AND this in the form tag: onsubmit="return check_TF_form1(this);
>
> Nothing ever validates.
>
> I submitted a trouble ticket with the hosting service I am using and
> their response is this:
>
> "This is not a server issue but is more a coding/website functionality
> issue. Its not the server that processes the javascript but the
> browser, I did use Firebug to check this and the error it came back
> was:
>
> cfform_submit_status is not defined"
>
> Is there something extra I need to be doing or something I need to
> tell my host provider?
>
> Thanks in advance!
>
> --
> online documentation: http://openbd.org/manual/
>   google+ hints/tips: https://plus.google.com/115990347459711259462
>     http://groups.google.com/group/openbd?hl=en
>



-- 
Alex Skinner
Managing Director
Pixl8 Interactive

Tel: +448452600726
Email: [email protected]
Web: pixl8.co.uk

-- 
online documentation: http://openbd.org/manual/
   google+ hints/tips: https://plus.google.com/115990347459711259462
     http://groups.google.com/group/openbd?hl=en

Reply via email to