1
kaotik
GroupPermForm and unchecked checkboxes
  • 2004/10/20 16:39

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Hi, i'm using GroupPermForm (which is working good) the problem is that, even though it updates the info in the DB, it always shows the checkboxes as unchecked. Is there something I'm missing?

2
kaotik
Re:GroupPermForm and unchecked checkboxes
  • 2004/10/20 22:27

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


bump. I really need some help on this cause I have no ideia why it's acting this way.

3
kaotik
Re:GroupPermForm and unchecked checkboxes
  • 2004/10/21 10:48

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Just in case anyone else runs into this, here's the solution:

When your setting up the array:
$item_list = array('1' => 'Category 1''2' => 'Category 2''3' => 'Category 3');


You MUST use numbers for the item name. I was replacing '1' with 'wuytest'. The database has this field configured as a integer, that's why it won't update plus it also won't work.

Don't you just hate it when you finally realize how obvious your mistake was?

Login

Who's Online

499 user(s) are online (64 user(s) are browsing Support Forums)


Members: 0


Guests: 499


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits