[Dojo-interest] FormBind questions...

Roberto Saccon rsaccon at gmail.com
Mon Dec 18 03:04:49 MST 2006


Below my experiences:


> 1: Can dojo.io.FormBind be triggered by a button?
>

No

>
>
> 2: Can I inject another parameter before the dojo.io.FormBind is sent?
>
yes, here is how I am doing it:

inside my FomBind initialization:
-----------------------------------------------
      content: {my_variable: ""}


Then override dojo.io.FormBind.onSubmit :
--------------------------------------------------------------

myform.onSubmit = function(form) {
  this.bindArgs.content.my_variable = my_value;
}


hope that helps
-- 
Roberto Saccon


More information about the Dojo-interest mailing list