Update form-validation.md missing ' in line 27

Missing closing ' in $form->dataFieldByName('MyRequiredField')
This commit is contained in:
muskie9 2014-06-25 11:45:22 -05:00
parent 0c2332f8bd
commit 94ba13cefa

View File

@ -24,7 +24,7 @@ class.
new RequiredFields(array('MyRequiredField')) new RequiredFields(array('MyRequiredField'))
); );
// Optional: Add a CSS class for custom styling // Optional: Add a CSS class for custom styling
$form->dataFieldByName('MyRequiredField)->addExtraClass('required'); $form->dataFieldByName('MyRequiredField')->addExtraClass('required');
return $form; return $form;
} }