Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
39714b89
Commit
39714b89
authored
Dec 10, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6457 from softark/docs-guide-input-forms-fix
docs/guide/input-forms.md - small fix [ci skip]
parents
683a3532
47e98daf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
input-forms.md
docs/guide/input-forms.md
+1
-1
No files found.
docs/guide/input-forms.md
View file @
39714b89
...
@@ -86,7 +86,7 @@ All of the content placed between [[yii\widgets\ActiveForm::begin()|ActiveForm::
...
@@ -86,7 +86,7 @@ All of the content placed between [[yii\widgets\ActiveForm::begin()|ActiveForm::
As with any widget, you can specify some options as to how the widget should be configured by passing an array to
As with any widget, you can specify some options as to how the widget should be configured by passing an array to
the
`begin`
method. In this case, an extra CSS class and identifying ID are passed to be used in the opening
`<form>`
tag.
the
`begin`
method. In this case, an extra CSS class and identifying ID are passed to be used in the opening
`<form>`
tag.
In order to create a form element in the form, along with the element's label, and any applica
tion
JavaScript validation,
In order to create a form element in the form, along with the element's label, and any applica
ble
JavaScript validation,
the
[
[yii\widgets\ActiveForm::field()|ActiveForm::field()
]
] method of the Active Form widget is called.
the
[
[yii\widgets\ActiveForm::field()|ActiveForm::field()
]
] method of the Active Form widget is called.
When the invocation of this method is echoed directly, the result is a regular (text) input.
When the invocation of this method is echoed directly, the result is a regular (text) input.
To customize the output, you can chain additional methods to this call:
To customize the output, you can chain additional methods to this call:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment