Re: ok/cancel prompt followed by submit?

2012-06-20 Thread Paul Joseph
Thanks guys, and sorry for the delay...client had postponed it for a while. I don't get how to do it without any JavaScript is involved...don't I do a submit with say "delete" as the id and then based on that write some small line of JS to show that page with the button that does the real dele

Re: ok/cancel prompt followed by submit?

2012-05-30 Thread Jasha Joachimsthal
If you really want to be safe, let the form submit to an intermediate page in which you summarise what the user will delete. If the user submits this page, then delete it. This can be done with continuations, no Javascripts are needed. The average user just clicks OK on a confirm window without rea

RE: ok/cancel prompt followed by submit?

2012-05-30 Thread Gary Larsen
Hi Paul What I've done is have the delete button action make visible a group where the real delete button lives, along with a cancel button which will make the group invisible again. Some YUI stuff does the popup with background disabled. Gary -Original Message- From: Paul Joseph [mai

RE: ok/cancel prompt followed by submit?

2012-05-30 Thread Robby Pelssers
Check this example: http://www.shiningstar.net/articles/articles/javascript/confirmsubmit.asp -Original Message- From: Paul Joseph [mailto:pjos...@gmail.com] Sent: Wednesday, May 30, 2012 4:28 PM To: users@cocoon.apache.org Subject: ok/cancel prompt followed by submit? Hi there, I was