Forum OpenACS Development: Re: Re: forums: message/post

Collapse
Posted by Malte Sussdorff on
Dave,

sadly for this to work, ad_form still needs to be able to access the button. But it is not, due to the fact that the javascript has disabled it (just confirmed, does not work). Maybe I should rewrite formbuilder to do this:

- create a hidden form variable "button" for every form
- Change any submit button to set the hidden variable to the value of the button pressed using Javascript.
- Then disable the button.
- Then submit the form.
- Have ad_form set the variable to the passed in button.