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.

Published on Tue 03 October 2006 Filed under code Tags coldfusion

COMMENT / SHARE

Comments disabled for this post. Still want to bug me about it? Hit me up on one of the social sites listed to the right.