Skip to content
This repository was archived by the owner on Nov 14, 2018. It is now read-only.
This repository was archived by the owner on Nov 14, 2018. It is now read-only.

Modifying the form fields/possibilites #46

@teo-sk

Description

@teo-sk

Maybe a stupid question - is there an easy way to modify a few fields in the form, or easily extend the field processing?

E.g. I've got a Speaker entity and am adding these fields:

->addFields(array(
            'firstName' => array("label" => "First Name"),
            'lastName'=> array("label" => "Last Name"),
            'occupation'=> array("label" => "Occupation"),
            'description'=> array("label" => "Short Resume"),
            'picturePath'=> array("label" => "Avatar"),
            'fkCategory' => array("label" => "Category"),
        ))

And I would like to replace the picturePath text field with an upload form, and then do stuff after submitting (e.g. resize the image, store it, and just store it's path to the database.)
Is this possible?

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