Jump to content

This topic is 7941 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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

Posted

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" wink.gif

there has been A LOT of times when I wished I had a dog so I can use the "dog eat my code" excuse grin.gif

but then again....that is why we have forums smile.gif

This topic is 7941 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.