DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   ColdFusion (http://www.daniweb.com/forums/forum19.html)
-   -   validateat="onsubmit" gives problem when files are published on server (http://www.daniweb.com/forums/thread199285.html)

nagkar Jun 23rd, 2009 1:27 pm
validateat="onsubmit" gives problem when files are published on server
 
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

freshfitz Jun 26th, 2009 12:38 pm
Re: validateat="onsubmit" gives problem when files are published on server
 
Most likely there is a problem with your CFIDE mapping. That folder contains javascript files that are used for the onSubmit validations. If those files cannot be accessed, the validation will not run. Talk to your host about properly configuring the CFIDE mapping.


All times are GMT -4. The time now is 4:20 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC