December 14, 200025 yr Newbies We have a page on our site which allows members to edit their "specialties" in our database. I use the following code: code: [FMP-ValueList: Main_Specialties, List=Main_Specialties] <input type="checkbox" name="Main_Specialties" value="[FMP-ValueListItem]" [FMP-ValueListChecked]>[FMP-ValueListItem] The code works just fine when members submit new specialties (they are recorded in the database), but when members remove (de-select) a specialty, the change isn't saved. Does anyone know what I need to do to the code to make it work? Thanks for your help!
December 14, 200025 yr Try this: [FMP-ValueList: Main_Specialties, List=Main_Specialties] <input type="checkbox" name="Main_Specialties" value="[FMP-ValueListItem]" [FMP-ValueListChecked]>[FMP-ValueListItem]<BR> [/FMP-ValueList]
December 15, 200025 yr I seem to remember a tread some time back that highlighted this issue: through the web it's reliable and easy to insert a value into a field, or edit the value to something else, but not reliable to chnage the field value to empty or "". I cannot remember whether it was considered a bug of Web Companion or whether it was more a problem with the web form interface generically. I think the later was the concensus.
December 15, 200025 yr quote: Originally posted by Vaughan: I seem to remember a tread some time back that highlighted this issue: through the web it's reliable and easy to insert a value into a field, or edit the value to something else, but not reliable to chnage the field value to empty or "". I cannot remember whether it was considered a bug of Web Companion or whether it was more a problem with the web form interface generically. I think the later was the concensus. Well to change field to nothing is reliable. But if the field is Required, then submitting nothing into it will not change the last value in Req. field.
Create an account or sign in to comment