@
@
@Insout2017-01-31 16:32:06
Yii
@Insout, 2017-01-31 16:32:06

How to describe actions after a checkbox is checked (or not selected) in Yii2?

There is a certain model, controllers and views generated by Gii.
The form must contain a checkbox, when checked, something must happen that is not described in the actions of the generated controller. How to do it?
I can't figure out how to make a condition construct.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2017-01-31
_

there must be something that is not described

zashib explanation of the problem.
I can't understand you at all.
You think of a concrete example. "it is necessary to open a modal when clicking on the checkbox" or "it is necessary to load the data of the current user when clicking on the checkbox"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question