Manage Learn to apply best practices and optimize your operations.

Deselect All Values In Multi-Value Field

On the Web, if a selection is made in a multi-value list field, I have found that many of our users do not know how to completely deselect the options chosen.

The following hyperlink code uses the onClick JavaScript event to change the value of the field in question to null.

I usually place this code next to the field on my Notes form. Using the standard view icons for Domino, a small red 'x' appears to the right of the field. Clicking on this graphic will trigger the onClick and set the field to "".

To reuse this just replace "FieldName" in document.forms[0].FieldName.value with the name of your field. You could also use this for fields other than multi-value fields.
&lta href="" onClick="document.forms[0].FieldName.value=''; return false;">&ltimg src="/icons/vwicn081.gif" border=0></a>

Dig Deeper on Domino Resources - Part 3

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...