a bunch of form.custom.widget.field (not sure of the synthax) wrapped in a table for instance to change the display of the form...
Richard On Tue, Feb 4, 2014 at 10:54 AM, Anthony <[email protected]> wrote: > Hard to say without knowing what my_manipulate_form_containing_var is. > > > On Tuesday, February 4, 2014 10:48:15 AM UTC-5, Richard wrote: > >> So : >> >> My view should look like that >> >> {{=form.custom.begin}} >> {{=my_manipulate_form_containing_var}} >> {{=form.custom.begin}} >> >> ? >> >> Richard >> >> >> On Tue, Feb 4, 2014 at 10:42 AM, Anthony <[email protected]> wrote: >> >>> Yes. Note, custom.begin and custom.end are a bit odd in that they are >>> not web2py HTML helper objects -- this is because they do not represent a >>> complete HTML element (one includes the opening form tag, and the other >>> includes the closing form tag). Rather than manipulate form.custom.begin, >>> it would probably be easier to just insert the relevant HTML into the view >>> manually. As for form.custom.end, do you really need to do anything with >>> that? It's just the hidden fields that web2py needs plus the </form> tag. >>> Anyway, you can get just the hidden fields with form.hidden_fields(). >>> >>> Anthony >>> >>> >>> On Tuesday, February 4, 2014 9:51:04 AM UTC-5, Richard wrote: >>>> >>>> Hello, >>>> >>>> We are trying to manipulate form (a SQLFORM or a .factory) in the >>>> controller and then pass the customized form to the view. We want to do >>>> this to minimize the code at view level... But we face some quirks with >>>> form.custom.begin and .end >>>> >>>> May custom form be used from the controller like this?? >>>> >>>> Thanks >>>> >>>> Richard >>>> >>> -- >>> Resources: >>> - http://web2py.com >>> - http://web2py.com/book (Documentation) >>> - http://github.com/web2py/web2py (Source code) >>> - https://code.google.com/p/web2py/issues/list (Report Issues) >>> --- >>> 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. >>> >> >> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > 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. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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.

