Newbies ChrisKuehl Posted December 14, 2000 Newbies Posted December 14, 2000 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!
dspires Posted December 14, 2000 Posted December 14, 2000 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]
Vaughan Posted December 15, 2000 Posted December 15, 2000 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.
Anatoli Posted December 15, 2000 Posted December 15, 2000 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.
Recommended Posts
This topic is 8813 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 accountSign in
Already have an account? Sign in here.
Sign In Now