The form.custom.begin object is not an HTML helper (because it only
includes the opening form tag), so it cannot be manipulated like other
helpers. In this case, it's probably easier to just manually code the
opening form tag. So, instead of:
{{=form.custom.begin}}
just do:
<form id="myform" action="#" enctype="multipart/form-data" method="post">
Anthony
On Saturday, February 16, 2013 9:00:06 PM UTC-5, Tito Garrido wrote:
>
> Hi Folks!
>
> I am trying to set an id on a custom form but it does not work, I have
> tryed:
> form['_id']='myform'
> form.custom['id'] = 'myform'
> form.custom['_id'] = 'myform'
> form.custom.id = 'myform'
> form.custom._id = 'myform'
>
> The first one works if I do not use custom forms... So how can I set it to
> a custom form?
>
> Thanks!
>
> Tito
> --
>
> Linux User #387870
> .........____
> .... _/_õ|__|
> ..º[ .-.___.-._| . . . .
> .__( o)__( o).:_______
>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.