logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • Rob
    • Posted on Fri 22 Jun 2007 04:21 PM

    The other problem I'm having with this is if the user unchecks all the checkboxes then the document is saved with the values the same as last time. What I mean by this is you can never clear the field. At least one checkbox will always be checked once any checkbox has been saved. I think this has something to do with how Notes handles things.

    I solved this problem by adding a hidden checkbox to ever group using this code:

    "<input type=\"hidden\" checked name=\"" + field_name + "\" value=\"(blank)\" />"

    And then added the following input translation program to the field_name field:

    @Replace(@ThisValue;"(blank)";"")

    This works as long as one of your checkbox options isnt "(blank)". If it is, pick some other string.

    You can see this in action on the new web site I'm building:

    {Link}

    Best regards,

    Rob:-]

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: