Gossamer Forum
Home : Products : DBMan : Discussions :

build_checkbox_field question

Quote Reply
build_checkbox_field question
I use print &build_checkbox_field ($counter, "$rec{'$counter'}"); in a loop to show fields numbered 1 to 99 as configured in the cfg.
When checking the boxes of a specific record in html_record_form, the checked boxes are activated as normally and checked items are saved to the db and html_record shows the checked items. Everything is OK that long.

The problem:

When re-entering html_record_form for a specific record, the previously checked boxes are NOT checked as default, so I have to re-check them when editing the record.

In other words, it seems as build_checkbox_field does not pull out the variables from the db.

Very thankful for your help is yours

CSky
Subject Author Views Date
Thread build_checkbox_field question csky 4231 Oct 14, 2001, 2:29 AM
Post Re: [seasky] build_checkbox_field question
QooQ 4137 Oct 14, 2001, 3:42 AM
Post Re: [seasky] build_checkbox_field question
Paul 4136 Oct 14, 2001, 3:54 AM
Thread Re: [seasky] build_checkbox_field question
csky 4160 Oct 14, 2001, 12:41 PM
Thread Re: [seasky] build_checkbox_field question
Paul 4146 Oct 14, 2001, 1:17 PM
Post Re: [RedRum] build_checkbox_field question
csky 4132 Oct 15, 2001, 8:15 AM
Thread Re: [seasky] build_checkbox_field question
csky 4110 Oct 21, 2001, 11:41 AM
Post Re: [seasky] build_checkbox_field question
Paul 4078 Oct 22, 2001, 6:49 AM