Skip to content

Commit 522e74c

Browse files
committed
Add user_create form name explanation
1 parent ddfdc72 commit 522e74c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

forms.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,9 @@ The extra fields can be injected like this:
996996

997997
Here, the referral code is an extra field injected at view level.
998998

999+
The field name is composed of form ``user_create`` and the field name ``referralCode``.
1000+
It's automatically generated from the form class name. You can :ref:`override it <changing-the-form-name>`
1001+
9991002
You can get the referral code via ``getExtraData``::
10001003

10011004
$extraData = $form->getExtraData();

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy