Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CFWINDOW Usage

New Here ,
Oct 08, 2009 Oct 08, 2009

Hi,
I have a page where after the user hits submit, I'd like to throw up a a small confirmation window to confirm the updates.  If the user hits a confirm button, then I'd like to continue with the post to the action page otherwise return bak to the form.

Is this doable with CFWINDOW? I realize this is largely a client side question but I do know that CFWINDOW does provide some pop up processing?

I've never used CFWINDOW so could you point me to a short example?

Many thanks in advance,
hefterr

TOPICS
Advanced techniques
442
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 09, 2009 Oct 09, 2009
LATEST

Hi,

I think there is no need to use CFWINDOW. You could use regular JavaScript for this. On the 'onsubmit' event for the form show a javascript 'confirm' dialog box. Depending on what the user clicks, submit the form using javascript or don't submit the form at all.

Hope this helps.

- Milind

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources