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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.