Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3a9cef5

Browse files
committed
Add user_create form name explanation
1 parent62ce5b8 commit3a9cef5

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
@@ -989,6 +989,9 @@ The extra fields can be injected like this:
989989

990990
Here, the referral code is an extra field injected at view level.
991991

992+
The field name is composed of form ``user_create`` and the field name ``referralCode``.
993+
It's automatically generated from the form class name. You can:ref:`override it<changing-the-form-name>`
994+
992995
You can get the referral code via ``getExtraData``::
993996

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp