Hi Bosses.

I have a HTML form with a lot of fields. Upon submit it calls a javascript function to validate the data. and then transfer the data to a php script.

Now i want that if a user CLICK Submit, it will first show a POPUP saying

"Please check the data you entered below"
Name : blah name
Address : blah address
more data...

then a button saying "Yes I confirm, data are OK" and another "No, I wanna change some data"

so if the user clicks on YES, it will call the javascript form validation routine. and then transfer the data to php. else if NO is clicked then it will simple do nothing and closes the POPUP.

Please guide !