Is it a bug in QCheckBox?

Login or register to post comments
3 replies [Last post]
LaCeja's picture
Offline
Joined: 11/04/2009

I'm having a problem with all my QCheckBox controls. I set the QCheckBox to true, but on Validation, it is not set.

protected function Form_Create() {
  $this->blnSomeCheckBox = new QCheckBox($this);
  $this->blnSomeCheckBox->Checked = true;

  ...

}
protected function Form_Validate() {

  if ($this->blnSomeCheckBox->Checked == true) {

    do something...

  }

}

It always fails the "If". I'm using QCubed 2.0 on xampp. Surely I'm just doing something wrong.

Thanks,

LaCeja

LaCeja's picture
Offline
Joined: 11/04/2009

Never mind... I just found the patch for it in ticket# 551.

alex94040's picture
Offline
Joined: 11/06/2008

Was that patch not included in 2.0.1?

LaCeja's picture
Offline
Joined: 11/04/2009

The problem with QCheckBox was in 2.0. I'm still trying to get 2.0.1 working. Apparently, all the js plugins, like Autocomplete, have been converted to jQuery. I'm still trying to understand how they all work. I've made extensive use of many of the plugins and the jQuery versions are still a mystery to me.

Anyway, I got the patch installed and it corrected the problem with 2.0.

Thanks Alex.

LaCeja