Forum OpenACS Development: Re: Javascript in ad_form

Collapse
6: Re: Javascript in ad_form (response to 3)
Posted by Brian Fenton on
Thanks a million for this Michael! I was just trying to do the same thing when I found your post. I used the following to get a Ok/Cancel Javascript confirm:

{mysubmit:text(submit)
{label "Proceed"}
{html {onclick "return(confirm('Are you sure?'));"}}
}

cheers
Brian