Do the form normally and try this with jquery:

    $('#totalitems').hide();

2011/9/28 Anthony <[email protected]>

> 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 'totalitems' is not in the db. Let me know how
>> to add hidden fields to FORM.
>>
>> form = FORM(
>> DIV(
>> LABEL("Checklist Items:"),
>> UL(
>> SPAN(INPUT(_type="text", _name="citems"),
>> IMG(_class="add", _src=URL('static', 'images/add.png')),
>> IMG(_class="remove",_src=URL('**static', 'images/delete.png'))),
>> ),
>> hidden=dict(totalitems='1')
>> ))
>> Thank you,
>> Joseph
>>
>

Reply via email to