CF Server Side Validation w/no Javascript - Can't Go Back

What am I missing here?

So I'm messing around with the built in ColdFusion validation using cfform and cfinput.

I've added validateat="onSubmit,onServer", etc...

In theory if you turn off Javascript - it will throw a server side error - which it does:

Form entries incomplete or invalid.

  • Missing or Incorrect Format: Principal Investigator Zip
  • Missing: Please provide at least one Public Health Impact

Please go back and correct the problem.

What's funny (in a sad sort of way) - is the 'back' link is ...

You guessed it - Javascript!

javascript:history.back()

I'm going to write my own checks but thought this was really odd.

Go Top
comments powered by Disqus