Form field for creating anchor links easily. Beats using LiteralField.

Installs: 2 317

Dependents: 1

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 2

Open Issues: 4


dev-master 2014-11-28 01:39 UTC

This package is auto-updated.

Last update: 2021-10-24 13:24:54 UTC


Create anchor easily within form fields or actions lists.

The AnchorField.ss template can be overridden for easy styling / customisation, which is particularly useful for making links look like buttons.

Example Usage

    $actions = new FieldList(
        new AnchorField("cancel", "Cancel", $this->Link()),
        new FormAction("submit", "Submit")