We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Generate a form in Volt, phalconphp or simple HTML?

Hi,

next question ;-)

For example, i want to generate a form.

So i can use simple HTML tags <form> <input >..... Or i can use volt or phalconphp syntax for that. What are the advantages? Why should i use this?

Kind Regards

Stefan



34.6k
Accepted
answer
edited Jul '15

Phalcon\Tag helpers maintain values after submit the form via post, also they automatically escape values and attributes to avoid XSS attacks.



60.0k

Thx Andres,

i will use Phalcon\Tag :-)

Rgds

Stefan