Skip to main content
Participant
June 23, 2009
Question

validateat="onsubmit" gives problem when files are published on server

  • June 23, 2009
  • 1 reply
  • 428 views

Hello

I am trying to validate a textbox using the OnSubmit setting.

<cfinput type="text" required="yes" validateat="onsubmit">

                  the validation of the above text field works properly by throwing me a alert box when there is an error and  when i test on my localhost server.

But when i transfer the mysite to server where i am going to publish this doesnt work.the validation simply skips.But when i change validateat="onserver" it works properly.

Any ideas?

Thanks

    This topic has been closed for replies.

    1 reply

    Inspiring
    June 26, 2009

    Check that your production web server contains the required /CFIDE directory and subdirectory.  It is possible that the required Javascript files are missing on the server.  If the required Javascript files are not available to the browser the client side validation will not work.

    http://kb2.adobe.com/cps/000/3e56e2e5.html