Fixing the Domino CheckBox Bug

The fact that Domino has a bug shouldn't really come as a shock to any of us. Any software application of that size is bound to have one or two. What is shocking is that Domino R5 has a bug that shows no sign of being fixed despite the fact that it has been officially documented. This article will discuss the bug and a simple solution. On the way I hope to introduce you to a few new concepts and to a way to "debug" Domino forms.

The problem (or "limitation" as Lotus would have us call it):

Likelihood is that you won't see the problem at all. It all depends on how you create your Submit buttons to save a web document. If you always use the convention of a button that uses the following as its formula then you will be okay:

@Command([FileSave]); @Command([FileCloseWindow])
However, I know that I am not alone in prefering to create my own buttons that use, amongst other things, the following JavaScript call in the the onclick event:

What's the difference? Not much. As far as the interaction between server and browser is concerned the method is the same. The reason I prefer to use my own buttons is by-the-by really.

The problem is when you use a JavaScript button to submit a form that contains a CheckBox field. If you submit a new document, with some values selected, then all appears well. However, if you then reopen the document in edit mode, deselect all the values and resubmit, the changes are lost. Now, I don't know about you, but I call that a pretty major bug. Not Lotus! They pass it off like so:

This issue was reported to Lotus Quality Engineering and has been determined to be a software limitation of web browsers.

To fix it they suggest using the "normal" @Formula button. The fact that this is a complete cop-out on their behalf I will cover later.

Some background investigating:

Before I cover the simple, yet ingenious, solution I think it's important that you understand what is happening in the background. In doing so I hope it gives you the knowledge and confidence to do some Domino-form-debugging of your own in the future.

When you submit a form from a browser to a web server all the fields on the form get encoded in to a HTTP "request" string that is to the server. This is normally an invisible step in the whole surfing experience but, with the aid of "packet sniffers" like Ethereal, we can take a peak at this hidden layer.

Note: Ethereal is something I plan to write about in more detail in an article all of its own so I will just go over the basics of using it here.

With Ethereal launched and capturing all traffic on port 80, open the form in question and submit some field values. When you stop Ethereal's capture you will see a list of all the packets exchanged between the client and the server, as below:

Ethereal after a capture

In it you can see a list of the information sent between the two machine. If you then right-click on the top-most entry there is an option "Follow TCP Stream". Selecting this will present you with a box as below:

An Ethereal packet stream

In the box above you can see the whole of the conversation between client and server that resulted from pressing the submit button. The uppermost red part is the data that was POSTed to the server. The blue part at the bottom is the server's response. In this case it's simply the HTML to display a "Form processed" message.

Note: Hopefully you've learnt something even by now and can see how useful the ability to see this data could be.

In the above example I was using a very basic form that consists of one text field and one checkbox. It looks like the one below:

A simple Domino form

With this in mind let's look at the text of the POST portion of the above conversation and dissect it (I've removed some of the irrelevant parts):

POST /CheckBox.nsf/Problem?OpenForm&Seq=1 HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; T312461)
Host: epsdomsvr01
Content-Length: 41


All make sense? The important part is in bold at the end. The number called content-length tells the server how many bytes of data to expect and the last line is the data itself. Look at the last line in detail. It consists of what are called content-pairs. Each content-pair is made up of the name of a field and its value. In this case we have the internal Domino field called "__Click", the field called "TextField" with value of "test one" and the "CheckBox" with its alias value of "1".

Now let's look at the same form being submitted but without any of the checkbox having a selection:

POST /CheckBox.nsf/Problem?OpenForm&Seq=1 HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; T312461)
Host: epsdomsvr01
Content-Length: 30


Notice the difference? The content-length is shorter and the "CheckBox" is not sent to the browser. At this point you might be thinking that this is the bug. It's not. According to the W3C's HTML Specification a checkbox without a value is not considered a content-pair and so the browser is right in not sending field with the POST data.

The problem is a limitation of Domino and not as Lotus would have you believe with the browser.

What I can't quite understand is why the problem is only when you use JavaScript to submit the form. The above transcripts show the data sent when you use JavaScript. Let's compare that with the data sent when you use a button with the normal @Formulas:


Notice the difference? The "__Click" field has a value other than its default of "0". This field is normally set by the onclick event of our @Formula buttons and tells Domino which button we pressed. Surely then this must be the key to it all. But why? What significance does this hold? If it can be done when you click one button then why not another and how on earth can it possibly be a browser limitation!? Lotus?

A solution:

Waiting for acceptance of this limitation being on the side of lotus would be like expecting a month of Sundays. We need a fix. Luckily I can give you one and ingeniously simple. What we need to do is fool the Domino server in to thinking there is a value being passed to the CheckBox field. If we can make this blank when there are no other options checked we can clear all the options in the field in the back-end document. Consider the form below:

The solution

The trick here is to add an extra hidden text field immediately after the CheckBox field, with the same name and with no value.

Let's see what difference this makes. First by looking at the make up of the CheckBox field and its possible values.

CheckBox field

If in the normal form you select the first and last values the POST data looks like:


So, for each selection, a separate content-pair is encoded and passed to the server. So, as long as we send these values all at once and not with any other content-pairs in between, we can pass an extra one in on the end. This is what the extra "fake checkbox" is for. Consider the same POST data but with our hidden field tagged on:


Now for the clever part. If you deselect both values and submit it again the hidden text field is still considered a content-pair even without a value and so is still passed along like so:


Domino at the other end translates this as meaning that it should set the value of the checkbox from the listed values "1" and "-1" to simply "". Because there's no value in the field that can be "" then all selections are removed as we'd expect. Et voila!!

You can try all this for yourself as I've kindly included the two simple forms in this demo database for you to download.


Whether this is a bug or a feature or a limitation of Domino isn't really important. More important is the fact that you can get round most of these things if you apply some "logical hacking" to the situation. While I can't help thinking this shouldn't be necessary I do quite like the eureka moments that often ensue ;o)

If you liked, hated or plain didn't get this article I want to hear your opinions. I've always wanted to discuss Domino development from this angle but have shied away as I don't know what the interest would be.


  1. Domino Checkbox Bug

    Thank you for the article.

    I am developing intranet applications for a major company in the pharmacutical industry. Domino is not the only development platform here.

    A bug like this is not a thing that strengthen Domino as a developing platform. A bug like this and a response like Lotus' is nothing short of a scandal.


    1. Re: Domino Checkbox Bug

      Thanks for the alert, Jake (+ good solution). I completely agree that IBM's response is a lousy cop-out and the weasel-person who authorised it should be beaten with an old MSDN cd. But then I imagine all development platforms have mind-boggling bugs (where the supplier claims they are the fault of something else out of their control), certainly the ones I have worked on have, e.g. MS IIS and BEA Weblogic.

  2. Checkbox bug

    I don't think you do yourself justice with this one. Although I'm sure there are times when you would use a JS button over a formula, I think the error has more to do with how you call the submit.

    By calling document.forms[0].submit() you are assuming that the code in the onsubmit button is called, and thus the doClick() code that Domino generates is called. Is this the case?

    If not, either through your use of the submit() method, or as a result of browsers not calling the onsubmit code in response to submit(), then it appears that the fault is either in the browser or your code.

    Granted that Lotus' response sounds lame, but it suggests that it is a result of onsubmit, and therefore doClick not being called.

    What happens if you call doClick directly, assuming you can work out the button reference? What happens if you call onsubmit() instead of submit? The doClick code is important to Domino's processing of the POST request, so does need to be executed.

      • avatar
      • Jake Howlett
      • Thu 28 Nov 2002

      Good point!!

      In my testing I neglected to add a call like so:

      [<code>if (document.forms[0].onsubmit())<br /> document.forms[0].onsubmit()</code>]

      Which is how I would normally code my buttons. Will go and check this now. You could have solved the bug a whole lot easire than I or jerome...


      Show the rest of this thread

      • avatar
      • jerome
      • Thu 28 Nov 2002

      Re: Checkbox bug


      of course, part of the problem is about calling _doClick or not...

      but can you do it in javascript ? i dont think so, mainly because the interesting thing in this function is that it fills the Click.value and that you can't possibly hard code things like '(...)/$Body/0.3968'...

      why should i always have to use the domino generated code ? when you want to have different validation functions or processing (disable buttons, change a hidden field value...) before submitting the form, you'll probably need to do it in javascript...

      so why domino would need to know the _click parameter when all we want him to do is to update the data like the form.action suggests it ?

      And, to show the fact that IBM/lotus response is not appropriate, look at the Team-Rooms, they use a javascript validate() function that ends with a submit() and is directly called from the Save button... Should i disable javascript in this database or change the code and how ?

      i think more and more developpers want to be able to have a complete control over the (x)html pages generated, and just want domino to process and store the data... so addressing these bugs or features would something nice.

      • avatar
      • Laurent de Walick
      • Thu 28 Nov 2002

      I disagree with the fact that it's a bug

      Jake, i have to disagree with you that the checkbox problem is something IBM should be solving.

      Just imagine this. I have a form with a checkbox that is only visible in visible under certain circumstances, eg. in the client or when the document has a certain status. The document gets edited on the web and when it's submitted the checkbox value doesn't get posted. As result domino would reset the checkbox to empty!


      Hide the rest of this thread

        • avatar
        • jerome
        • Fri 29 Nov 2002

        Re: I disagree with the fact that it's a bug

        But why does it work with a @formula button ?

        assuming thet the only difference between js and @formula posts is the __Click value (tell me if i'm wrong), i'd like to share my thoughts...

        what's in a __Click : example: e84191ce283d2c58c1256c5a0038f8e5/$Body/0.386E

        - the first element is the id of the form (not of the document) *how can you guess ?* copy this id and add it behind the db.nsf name in the address bar, followed by ?readForm - the second element is $Body (guess it says we are talking about the user interface) - the third is a code that says which button of the form is called...

        so the 2nd is useless and the 3rd will tell the domino server to do a @command([FileSave]) the same thing a submit() should do.

        then why should the id of the form tell domino whether a field was rendered or not, and whether it needs to be emptied or not if no value is returned ?

        In my humble opinion, there is no reason why this information should change the way the server works. 1st: even when you do a submit domino knows which form was used (because it will do all the zillions things it always do: fields conversions, check if there is an unknown field, launch the webQuerySave....) => so domino already HAS this form id ! 2nd: this information does not give any hint on which fields were rendered or not (the same form may have hidden fields, computed sub-forms...)! => so domino knows which field were rendered, but not by using the __click ! (i guess the user session stores this info and retrieves it with the http_referer and %%ModDate) 3rd: hey, even if the form id is compulsory, why dont they produce a hidden field called %%FormUNID anytime they render an edited document ? => so, if there is a solution dont blame the browsers !

        Ok, i'm just guessing and i may be completly wrong.

        i'd really like to know if there is information about how this domino renderer/document updater works...

          • avatar
          • Laurent de Walick
          • Fri 29 Nov 2002

          Re: I disagree with the fact that it's a bug

          The server needs the __Click field when using javascript on form generation because a submit doesn't always result in the document being saved.

          For example I add 2 buttons to a form and a select box that hides or unhides a section of the document when changed. The first button is : @Command([FileSave]);@Command([FileCloseWindow]); and the second : @Command([FileCloseWindow])

          Both actions will have a different __Click value.

          Domino sends everything to the server using a submit action in order to determine what the next action will be and uses the __Click field to determine the used button. When it's submitted with the first button, it will see the document has to be saved and then return to the homepage. When submitted with the second, it will not save the document and only return to the homepage and when I change the select option it will submit and return in edit mode with the section added or removed.

          A possible solution would be to respond on the form.submit() action as if the first button was used, but I don't know if this will wreck other functions.

            • avatar
            • jerome
            • Fri 29 Nov 2002

            Re: I disagree with the fact that it's a bug

            Of course as i said the __Click is used to know which @formula button was clicked ! (did i say that this field is useless ?) and of course it can be something completly different from a @command([FileSave]), but here we are comparing the behavior of domino when handling a @command([FileSave]) button and a submit() script. One runs fine, the other has a bug but both should save the document: you say "A possible solution would be to respond on the form.submit() action as if the first button was used", well domino *has* to: a lot of people (lotus included) use submit() this way...

            my post (i know my english could be improved) was saying : you dont need a __Click to know whether a field is to be updated or not. And as __Click is the only difference between the 2 posts, i dont see a reason why the submit() post could not be correctly handled.

              • avatar
              • Stan Rogers
              • Fri 29 Nov 2002

              Re: I disagree with the fact that it's a bug

              The difference is that the straight JavaScript submit() does not invoke the DocumentContext of the document as served. It does use the form, yes, but it does not look at the form's "served state" -- what was hidden, etc. In fact, the form that is actually submitted to the database using a submit() action does not have to exist as a usable HTML form in the database, and therefore may not have a "served state". "Use the form" versus "use the form as served" may seem like a subtle distinction to the developer, but it makes a huge difference to the internals of the machine. Domino cannot assume that a document was served using a particular form unless that form is also fed in the Request_Content of the submission -- it could have been served using an alternate form (via a form formula), or, for that matter, by a pure HTML form created by an agent or servlet.

                • avatar
                • Jake Howlett
                • Sat 30 Nov 2002

                Re: I disagree with the fact that it's a bug

                Okay, before I get the chance to test some of what you've said Stan I will have to go along with it and assume you're right. So where does this leave us? Are IBM right to pass if off as a "browser limitation"? I really don't think so. If there is a "limitation" anywhere it's with Domino. The browser's just doing its job and sending field values back and forth. What gives Big Blue the right to pick on it?? ;o)


                  • avatar
                  • jerome
                  • Sat 30 Nov 2002

                  served state

                  Stan's post is making me *really* curious...

                  Does the domino server really store the "served state" of a document ?

                  i made some tests and i still don't know... but i came across something that might say "no" :

                  i have a form with : - a computed for display field called "rnd", its value is '@random' - a computed subform, its value is '@If (rnd<0.5;"sf1";"sf2")' - a JS button (guess what: it does a 'submit()') - a @ button (with '@command([FileSave])')

                  subform "f1" contains a field ("field1") subform "f2" contains a field ("field2")

                  when you create a document, the rendered state contains 1 field (field1 xor field2)

                  if you save the document, and if domino has stored a "served state", it should know whether sf1 or sf2 was displayed, and which field is to be updated, shouldn't it ?

                  Results : in fact, whether you save the document with js or @formula, you *always* have 50% chance to get a "the element was not found" error...

                  i think that when domino receives a post, it re-guesses which field should be in the post, and sometimes, it's just not the right thing to do.

                  my conclusion (until i get further) are : - even with a submit() the post has to be valid and to "fit" in a form -- i'm really happy with that :-), no "manual html posts" ! - domino does never store a "served state" as i previously thought. in fact %%ModDate seems to be used only for conflict issues, so how can domino know where to find the served state ? you can open one hundred times the same document in edit mode, how does the server guess which served state to use ? wouldn't there be a potential performance issue in storing all these "served states" ?

                  never thought this "empty checkbox" thing would get me this far :) but i think it can be useful... anyone out there with the nhttp sources ?

                  This reply is already 8 levels deep and so replying at this level is disabled.

                    • avatar
                    • Brian Miller
                    • Mon 2 Dec 2002

                    Re: served state

                    That's not a good test. Computed subforms on the web are only computed when the form is opened. You're better off trying another way to make the fields present or absent.

                      • avatar
                      • jerome
                      • Wed 4 Dec 2002

                      served state : never trust a server

                      here the computed subform formula is calculated when the form is opened <and> when the post is received: look at my example, the subform changes in 50% of the tests.

                      anyway, still curious, i made some other tests: the following example should prove that domino does not store "served states" and that you cannot trust the @command([ViewRefreshFields]) in web-mode...

                      build a form with : - one field called "step" (number, editable, default value=1) - field "a" (string, editable, hidden if step!=1) - field "b" (string, editable, hidden if step!=2) - field "c" (string, editable, hidden if step!=3)

                      - a computed text that prints a,b and c - a @formula button that does: FIELD nField:=nField+1; @command([ViewRefreshFields])

                      when you open the form: just fill a, click on the button fill b, click on the button look : the value of the field "a" has disappeared ! being editable, the value *should* still be available... (you can test this form in web mode to see the diffrence) in fact if a field is not posted and in not "guessable" (not computed, that is), domino just uses its default value !

                      for 2 years i thought that domino stored a "served state" of the documents... that is not true, domino just receives posts and re-computes everything.

                      so, definitly, no need for a _Click to know whether a checkbox should be updated or not: just do as usual, get the post and recompute everything, and if the field is to be rendered, update its value.

                      so checkbox bug is a bug :)

                      PS: now, i know why most of the lotus applications that use @formula buttons generate HTML for all the fields.

                        • avatar
                        • Stan Rogers
                        • Thu 5 Dec 2002

                        Re: served state : never trust a server

                        For a form, yes -- but there is no document extant in your example. The served state of the document is null, so placing the original document values in the form results in null entries. If the values are not sent from the browser, then Domino has to get them from the saved state -- the "persistent" state, if you will. If the document is saved at any point along the way, the field values will "stick" without "generate HTML for all fields". Could Domino maintain an in-memory or a serialized state for every form opened? Possibly, but that would reduce scalability to nil.

                        That is precisely the problem with checkboxes -- the value has already "stuck". In a never-submitted document, you can set/clear the checkbox to your heart's content, but you cannot clear the value on the document once it's saved unless you inform Domino that you want the value changed. Domino can tell whether the a checkbox field appeared on the form as served by comparing the persistent state of the document with the returned state -- and the offset in the _Click value will confirm that a particular form in a particular state was used to return the value.

                        I'm not saying that the behaviour Domino exhibits is the best of all possible worlds -- it's just the way it DOES work, and until it works any other way, we have to learn to live with it.

                        In software, there is a fine line between a "bug" and a "feature". I would rather have to do a little something extra explicitly than to have my existing checkboxes cleared by a form that had no checkboxes to begin with. THAT would be a bug.

    • avatar
    • jerome
    • Thu 28 Nov 2002

    bug analysis methods

    did i read your article before posting my comment on your blog entry ? was it posted before ? am i confused ?

    anyway your article is interesting and shows how to understand the way domino and your browser work (or not) together. and it really takes time to apprehend things like this...

    we (domino developers) surely need to share our methods to analyse a problem, as mush as we need to share our code.

    Maybe one or two short articles would be interesting, dealing, for example, with the http posts (why multipart/form-data and not urlencoded ?) and ethereal, how do you know what domino receives, how it is decoded, or more generally how to debug some code, which are the most famous domino bugs, what is the code domino generates about (_doClick and so on)...

    we would then have a domino bugs killer cheat sheet...

      • avatar
      • Jake Howlett
      • Thu 28 Nov 2002

      Re: bug analysis methods

      You posted your response to the blog while I was writing the articles. What's they say about great minds think alike??


      Show the rest of this thread

    • avatar
    • Jim Fricker
    • Fri 10 Jan 2003

    We had this bug at MLIM...


    Steve C encountered this bug back when you and I were at MLIM (how many years ago is it now?). I showed him the same solution as the one you describe, as he insisted on using his own submit.

    I prefer a different solution which combines the power of both @Formula buttons and custom client-side JavaScript. I use an @Formula button which allows me to do things like

    FIELD Action := "Approve"; @Command([FileSave]); @Command([FileCloseWindow]);

    or in a different button

    FIELD Action := "Reject"; @Command([FileSave]); @Command([FileCloseWindow]);

    (Where Action is a CFD field so is not saved in the doc but can be accessed by the WebQuerySave agent)

    And I then use a bit of inline JavaScipt to modify the onclick event code domino has automatically generated for the buttons from just a call to _doClick(...) to include extra code at the start eg an if statement with a call to a validation routine. Event code in JavaScript is just another data object which can be manipulated.

    By ensuring you always call the _doClick code you do not get the checkbox problem.

    One day Lotus may let us do this properly by have two events for a button. Client side custom JavaScript which runs first, then if the custom JavaScript returns true the automatic domino submit runs, followed by the server-side @Formula.


    • avatar
    • Jim Fricker
    • Fri 10 Jan 2003

    Seems to be fixed in R6

    I tried it in R6 (client web preview only) with a checkbox field on a form with a simple submit and it seemed to work ok. Anyone else tried?


      • avatar
      • Ralph Bacon
      • Fri 18 Jan 2008

      Definitely broken in R7.0.3

      Just two years after my last posting I can confirm that the old (preR6) behaviour is back and I've just had to implement the original solution (by Jake) on a system that's been working fine under R6.5 for the last two years.

      I think IBM have lost the plot.

  3. call the _doclick event

    hi I understand that the basic premise of this discussion is to have have more and more control over how form is submitted rather than leaving everything for the domino to do.

    Nevertheless ,here is one thing you can do ,kinda workaround .It is something similar to what have been suggested in previous threads.

    Create a button with @command([FileSave]);@Command([FileCloseWindow])

    Hide this button (Take care that it should be published on the web).

    Create another button and access the object genereated by previous button(Formulae button)using ID or name (in Javascript) and invoke it's onclick event.(Someone in previous thread has suggested to manipulate or modify the _doclick of formulae event).

    e.g If you give the id to formulae button as "fileSave" Then the code in the second button onclick event will be document.all['fileSave'].fireEvent("onclick");

    This will in turn call the _doclick of the the formulae button ,to make life easy.

  4. An explanation atlast for this problem

    Thanks for the explanation, I have been searching for an explanation to this odd behavior for a long time. I came across your site a few days ago and found so many interesting articles that I am regular visitor to your site.

    I liked your "Search" solution too, I was using a search agent and building a HTML page to display the results. More often than not the search used to end in agent timeout error, I was frustrated until I came across the simple solution that you suggested.

    Great articles and great WORK...keep it up

    Thanks Bala

  5. sumbit alternative.

    I've always created a button with the formula @filesave and FileClosewindow. By putting in the style property display:none; the button is invisible. You can then reference the button by document.forms[0].ButtonID.click();..

    This allows you to do what ever you require in javascript, then use notes to generate the code to do the rest.

  6. Broken link

    Jakes; The link from 'officially documented' pointing to the IBM site seems to be broken.


      • avatar
      • Jake
      • Wed 23 Jul 2003

      Re: Broken link

      Thanks for that Cabous. We have IBM's redesign to thank for this one. Breaking the golden rule of web design - creating 404s. Fixed now, anyway...

      Cheers, Jake

  7. Not a fix...

    This is not a good solution if parts of the form are masked from a formula which checks if the checkbox value is different than "".

    Nice try.

    This is a bug.

    • avatar
    • Jerry Carter
    • Fri 2 Apr 2004

    Ethereal Capture Filters

    One of the things you'll need to know to make Ethereal work for you is how to construct capture filter strings. You can find the relevent documentation for this here:


    I came searching through looking for something to simply help me configure it to filter on port 80. Fortunately, Jake had a link to the ethereal site which in turn links to the above in the FAQ.



    • avatar
    • Paul
    • Tue 11 Jan 2005

    Single Value Checkbox Fix

    I know this is an old article, but since I ran into a similar problem the other day and pulled up this hit in my dizzying net searches, I thought I'd leave a similar hack/workaround I found on Notes.net (amazingly!) for my fellow dom developer.

    http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/38f0ad0b2 fa26091852569c80068aa04?OpenDocument

    Cleverly, using a combination of Input Translation and javascript, the checkbox value is now saving properly for me. Note this is for single value checkboxes (i.e. click here to subscribe), but I'm sure it can be tweaked to handle multi-select checkboxes.

    • avatar
    • Ernest
    • Thu 12 May 2005

    The IMPORTANT part is

    I tried this when explained to me (by someone reading out this solution) and it just did not work. I got them to send me the link and found the "important" step I missed.

    Place the hidden field directly after the checkbox definition.

    This is a eureka moment.

    Thanks Heaps.

      • avatar
      • todd
      • Mon 19 Nov 2007

      Re: The IMPORTANT part is

      still not addressed in 7.x

    • avatar
    • Vinx
    • Fri 10 Jun 2005


    Thank you for this article, after one hour lost in finding the reason of this behaviour, I have found useful your solution.

    • avatar
    • Ralph
    • Mon 6 Feb 2006

    Definitely fixed under 6.x BUT...

    the problem still occurs if you disable a previously checked checkbox (because, for example, the current user is not supposed to change this value).

    Disabled items are not "successful" and are not submitted back to the server. Thus Domino thinks "You didn't tell me checkbox1 was still set so you must have unset it".

    The checkbox then loses its value. So the solution described here still works in that situation - or do as I do and undisable the checkbox as part of the submit process.

    Only took me a weekend to sort all this out.

      • avatar
      • Rodney
      • Fri 23 Jun 2006

      Re: Definitely fixed under 6.x BUT...

      Actually, I don't believe the bug has been totally fixed in R6.

      Try making the checkbox field, "Refresh on Keyword Change", there will be certain checkboxes which won't retain the checked state during a refresh without the fix given above.

  8. You've saved me again


    Thanks for your great blog. I can't tell you the number of times I've found answers here.

    Tonight, it was the checkbok, um, "limitation". I'm using Dojo's xhrPost to submit my form. This allows me to use the web query save to validate the form on the server side and return any error messages, if there are any.

    I started noticing a strange occurrence. When I un-selected a checkbox, the empty value wasn't being returned to the server.

    I googled the issue and immediately saw your site.

    Your solution worked perfectly, and saved me hours of struggle.

    Something you wrote and discussed six years ago came to my rescue here tonight.

    I'm going to start my own blog to try to give back to the community. Blogs like yours are my inspiration.

    Thanks again,

    Jeff Byrd

Your Comments


Navigate other articles in the category "Forms"

« Previous Article Next Article »
Creating In-line Response Documents   Making Domino Behave Relationally

About This Article

Author: Jake Howlett
Category: Forms
Keywords: Bug; CheckBox; POST; form;


CheckBox.zip (35 Kbytes)


Print Friendly

Let's Get Social

About This Website

CodeStore is all about web development. Concentrating on Lotus Domino, ASP.NET, Flex, SharePoint and all things internet.

Your host is Jake Howlett who runs his own web development company called Rockall Design and is always on the lookout for new and interesting work to do.

You can find me on Twitter and on Linked In.

Read more about this site »