Skip to content

Missing an entry on setting default values in Symfony Forms #2871

Closed
@luebbert42

Description

@luebbert42

Could we have an example how to set default values to a form element using form classes?

There are some answers on Stackoverflow (the question has 18.000 views!), but I am not sure about the answer quality (yet, trying to get it running ;-)):

http://stackoverflow.com/questions/7913086/how-to-set-default-value-for-form-field-in-symfony2

Metadata

Metadata

Assignees

No one assigned

    Labels

    FormactionableClear and specific issues ready for anyone to take them.good first issueIdeal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions