Skip to content

Hidden field documentation bug #356

@snidelytoo

Description

@snidelytoo

On Monday, May 8, 2017 at 2:07:01 PM UTC-7, Joe Barnhart wrote:
In the section about SQLFORM, the description of hidden fields is demonstrably wrong. The code example is:

form.vars.a = request.vars.a
form = SQLFORM(..., hidden=dict(a='b'))

Since the variable "form" is created on the second line, it is not available on the first as the target of an assignment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions