-
Notifications
You must be signed in to change notification settings - Fork 13
Disable ActiveForm Validation
Coackroach edited this page Jan 19, 2020
·
2 revisions
You can disable the ActiveForm validation by passing the enableClientValidation
as false
for the formOptions
, you can use all supported options for the ActiveForm
use buttflattery\formwizard\FormWizard;
echo FormWizard::widget([
'formOptions'=>[
'id'=>'my_form',
'enableClientValidation'=>false,
],
'steps' => [
[
'model' => $shootsModel,
'title' => 'My Shoots',
'description' => 'Add your shoots',
'formInfoText' => 'Fill all fields'
],
[
'model' => $shootTagModel,
'title' => 'Shoot Tags',
'description' => 'Add your shoot tags',
'formInfoText' => 'Fill all fields'
],
]
]);
- Get Running with Minimal Options
- Disable ActiveForm Validation
- Enable Ajax Validation
- Add Custom Buttons
- Widget Constants
- Customizing Form Fields
- Configuring File Uploads
- Custom Field Order
- Single Model Across Steps
- Multiple models in a single step
-
Tabular Steps-(New)
- Working With Widgets
- Limiting Rows
- Dependent Inputs Since v1.7.2
- Skip-able Step-(Since v1.5.0)
- Enable Preview Step-(New)
- Group Fields-(New)
- Enable Form Persistence-(New)
- Enable Edit Mode - (Since v1.6.4)