Skip to main content
December 1, 2011
Question

cfform inside cfdiv...

  • December 1, 2011
  • 1 reply
  • 956 views

I have a cfform nested inside a cfdiv and it works great.  The cfform submits inside the cfdiv container and life is good.  However... If any of the form values don't pass processing logic I have written when the form submits (I've already done as much frontend checking as I can) then I want to redirect to an entirely new page.  Right now the redirect loads the new page inside the cfdiv.  I don't want that.  I want to get outside the cfdiv container and load an entirely new page.  Is this possible?  How?

This topic has been closed for replies.

1 reply

Inspiring
December 1, 2011

Have you tried doing a client-side redirect in JavaScript using window.location()?

December 1, 2011

I did try that.  For some reason javascript doesn't work well inside my cfdiv.  ??