Yii Framework Forum: activeCheckBox not checked is not in $_POST - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

activeCheckBox not checked is not in $_POST Rate Topic: -----

#1 User is offline   ilzale 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 113
  • Joined: 08-October 08

Posted 31 October 2008 - 07:09 AM

this is a big problem with activeCheckBox

generate a table with a boolean type, generate the model and the crud.

then if you check the checkbox and save everything is ok, then decheck save and it remains checked!! in $_POST array, if the checkbox isn't checked, it is not present the checkbox.

what can we do?
0

#2 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,875
  • Joined: 04-October 08
  • Location:DC, USA

Posted 31 October 2008 - 08:05 AM

That's a good catch. Could you please create a ticket? Thanks.
0

#3 User is offline   ilzale 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 113
  • Joined: 08-October 08

Posted 31 October 2008 - 08:10 AM

i don't have a google account..

it is necessary, isn't it? trac was so nice.....:-(
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users