Home >Backend Development >PHP Tutorial >How do I add the required attribute to the input tag generated using ActiveForm?

How do I add the required attribute to the input tag generated using ActiveForm?

WBOY
WBOYOriginal
2016-10-10 11:56:191420browse

How to add the required attribute and a piece of js code to the tags generated by ActiveForm?

Reply content:

How to add the required attribute and a piece of js code to the tags generated by ActiveForm?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:PHP login interfaceNext article:PHP login interface