Skip to content

Commit

Permalink
New translations forms.md (Portuguese, Brazilian)
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Jan 4, 2020
1 parent 5f202b8 commit 2e61b50
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions pt-br/forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -731,21 +731,19 @@ use Phalcon\Forms\Form;
$form = new Form();

$name = new Text('nameLast');
$name
->setFilters(
[
'string',
'trim',
]
)
->add($name);
$name->setFilters(
[
'string',
'trim',
]
);
$form->add($name);

$email = new Text('email');
$email
->setFilters(
'email'
)
->add($email);
$email->setFilters(
'email'
);
$form->add($email);
```

> **NOTE**: For more information regarding filters, you can check our [Filter document](filters)
Expand Down

0 comments on commit 2e61b50

Please sign in to comment.