Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Jun 22, 2009 Jun 22, 2009

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

401
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jun 26, 2009 Jun 26, 2009
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources