Sunday, 8 September 2013

Popup a window if checkbox is 1 in Yii

Popup a window if checkbox is 1 in Yii

I will appreciate if somebody could help me to find how to solve out one
problem, I have a checkbox in my create form. If i pushed the create
button I want to have a popup window if the checkbox is checked and do
nothing if the checkbox is unchecked.
Here is what I started.
<?php echo $form->checkBoxRow($model, 'default'); ?>

No comments:

Post a Comment