Expand my Community achievements bar.

Pull Down Null Value

Avatar

Level 2

I've got a pull down field with a number of text items. Each item has a numeric value bound to it ranging from 0 to 15.

I'd like to provide an item that lets a user return the field to null in case an item is chosen in error.

Anyone know how this can be done?

Thanks.

1 Reply

Avatar

Level 2

Here's  one method, but I'll be interested if there's a more elegant way.

I provided an item made with a space character and this script:

if (this.rawValue = " ")

{

this.rawValue = null;

}