Skip to main content
May 28, 2006
Question

form validation problems - help

  • May 28, 2006
  • 2 replies
  • 259 views
I am having serious problems getting the cfform validation properties to work properly.
When i submit an empty form it will not perform the javascript even though most fields are required.
when i did a view source in the window all of the js code is there but it is just not working...
are there any small details i could be missing?
    This topic has been closed for replies.

    2 replies

    Inspiring
    May 29, 2006
    The javascript validation relies on cfform.js which is in the CFIDE directory. If on your install this is in a non standard place then it will not work unless you specify where it is.

    You do this by using the scriptSrc attribute in the cfform to specify it's location.
    Inspiring
    May 28, 2006
    Could you show us one of your cfinput tags?