Ach! Thanks. Now it runs.
leone
On 14 Gen, 15:13, mdipierro wrote:
> You have Field('name',type=None) and this cannot be.
>
> On Jan 14, 7:35 am, leone wrote:
>
>
>
> > I am trying to build a complex widget that mixes helpers (an INPUT
> > helper) and plain html code that include others input ta
You have Field('name',type=None) and this cannot be.
On Jan 14, 7:35 am, leone wrote:
> I am trying to build a complex widget that mixes helpers (an INPUT
> helper) and plain html code that include others input tags used by
> javascript.
> It output all by (DIV object).components.extend([...,...]
I am trying to build a complex widget that mixes helpers (an INPUT
helper) and plain html code that include others input tags used by
javascript.
It output all by (DIV object).components.extend([...,...]).
It is all ok when SQLFORM.factory displays it, but fail when I accept
the form:
I am making a widget with more fields that must return a single value
when form is submitted.
I have two way (I suppose..): to use javascript at the submit event of
specific form (I need form id) or/and to put
validation code in widget function.
The better should be have code to study to discover t
> How a widget can know the name and id of the form in which it resides?
The built-in widgets do not know.
You can make your own widget and pass the information to it.
What do you have in mind?
On Jan 13, 12:13 pm, leone wrote:
> Is it possible to use javascript function on submit?
yes. Look in
5 matches
Mail list logo