May 6, 200322 yr I have a field in my database that uses a field value list using checkboxes and in my CDML page, I use a FMP-ValueList to display the field using checkboxes as shown below: [FMP-ValueList: normal_edition_type] <input type="checkbox" name="normal_edition_type" [FMP-ValueListChecked] onClick="if(this.checked){unCheckSpecials();}">[FMP-ValueListItem]<br /> [/FMP-ValueList] Everything appears fine and great but for some reason when I try to update the record with a change in the checkbox such as unchecking all of them, the field in the database still shows the value that it had prior to the update. All other fields are updating fine, such as those fields that use a pop-up list, regular text fields and the like. It seems to my observation that it is the field with checkboxes that aren't being updated. I can't seem to figure out why the field in the database is not being updated for some reason. Thanks.
May 6, 200322 yr You don't seem to have VALUE ="something" set properly..also that <BR> worries me...check you JS function..but in general: Syntax example(s) Display a value list as radio buttons using an HTML file [FMP-ValueList: Groups] <input type="radio" name="Groups" value="[FMP-ValueListItem]" [FMP-ValueListChecked]>[FMP-ValueListItem] [/FMP-ValueList] hope it helps
May 6, 200322 yr Author Stupid me, I forgot the value statement as you said. Added that value statement and everything is working accordingly. Thanks.
May 6, 200322 yr No problem....it happens to me X times a day...when you work with 100s of lines of code it is easy to overlook the fact that "the keyboard doesn't follow the mind" there has been A LOT of times when I wished I had a dog so I can use the "dog eat my code" excuse but then again....that is why we have forums
Create an account or sign in to comment