I believe your FORM needs a totalitems field or INPUT. At least
that's what I experienced with SQLFORM.factory.
Needed a Field('totalitems', readable=False, writable=False) to match
if I was passing hidden=dict(totalitems='1').
I often choose SQLFORM or .factory for the ability to customize the
Not sure that's your asking for:
INPUT(_type='hidden', _name='_hiddenName', _value='hiddenValue')
Why not use the session to carry that value forward? If you put it
into the browser you really need to validate it, under the general
security rule of not trusting anything that comes from the browser.
Also I believe LABEL helper should be used differently. It renders an
html label tag.
Here's
Do the form normally and try this with jquery:
$('#totalitems').hide();
2011/9/28 Anthony
> I think the 'hidden' argument goes inside FORM() -- looks like you've got
> it inside DIV().
>
> Anthony
>
>
> On Wednesday, September 28, 2011 10:14:40 PM UTC-4, Joseph Jude wrote:
>>
>> Hi,
>> I de
I think the 'hidden' argument goes inside FORM() -- looks like you've got it
inside DIV().
Anthony
On Wednesday, September 28, 2011 10:14:40 PM UTC-4, Joseph Jude wrote:
>
> Hi,
> I define the below form in controller but the hidden field is not present
> in the view. Note that, field 'totalite
5 matches
Mail list logo