Will,

>
> Sorry all, slightly OT here...
>
> I'm submitting a form which makes Registry changes, and so would
> like to add
> a dialog box that asks the user to confirm whether he/she wants to update
> and make changes.  So on "Yes," obviously it would update it and
> on "No," it
> would cancel.
>
> Anyone done this?
>


Sounds like a job for Javascript... ;o)
<script language="Javascript">
function areyousure(){
   if (confirm('Are you sure?')){
      return true;
   } else {
      return false;
   }
}
</script>

<form action=... type=... onsubmit="return areyousure()">
....

I think this should be sufficient...  JS is not my strongest point...
Check out the JS-Jive mailing list on egroups.com - Its a bunch of CFers
talking about Javascript..

Regards

Stephen

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to