Skip to content

Commit

Permalink
Crucial update and method name change
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrick Peter committed Oct 8, 2023
1 parent 0316a2c commit cfe0c27
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
* [noInterface](#nointerface)
* [Before](#before)
* [After](#after)
* [Has Error](#has-error)
* [Is Validated](#is-validated)
* [Reset Error](#reset-error)
* [Only](#only)
* [Except](#except)
Expand Down Expand Up @@ -332,6 +334,20 @@ $form->after(function(){
});
```

### Has Error
- Returns bool `true\|false`

```
$form->hasError();
```

### Is Validated
- Returns bool `true\|false`, When Form has already been validated

```
$form->isValidated();
```

## Reset Error
- Even if you're inside the `success() method`
- With this helper, you can be able to reset the class, to error class
Expand Down

0 comments on commit cfe0c27

Please sign in to comment.