Author Topic: Blank Tagged Value  (Read 3437 times)

BrianH

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Blank Tagged Value
« on: July 02, 2015, 08:06:41 am »
Does anyone know how to create a "blank" tagged value? We would like to be able to select a blank value from a drop down list.
For example, we would like to be able to add a value to the following that would result in the ability to leave the tagged value "blank".

Type=Enum;
Values=Physical Server, Virtual Server;

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Blank Tagged Value
« Reply #1 on: July 02, 2015, 08:56:33 am »
You can't do it. If you define

Type=Enum;
Values=Physical Server, Virtual Server, ;

EA offers a blank entry. But once you set a non-blank value the list has no longer a blank. You might report a bug/request a feature (depending on whether Sparx will accept this as bug). Anyhow, the time frame until seeing it live is probably to long.

What you could do is to add an entry like this:

Type=Enum;
Values=Physical Server, Virtual Server, <blank>;

and pray that one of the EA_On... events will catch all tagged value changes so you can react and change <blank> to a real blank entry.

q.

Jayson

  • EA User
  • **
  • Posts: 363
  • Karma: +1/-0
    • View Profile
Re: Blank Tagged Value
« Reply #2 on: July 02, 2015, 10:45:48 am »
Qwery is (of course) correct.
However, I always find it desirable to add a "No Selection" option that works as a kind of "live null" value.

This way, we are improving overall data quality because we know that No Selection has been made.

If the selection is blank, then we are not sure if No Selection has been made or if the user couldn't find an appropriate selection.

BrianH

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Blank Tagged Value
« Reply #3 on: July 03, 2015, 05:18:13 am »
Thanks so much. Glad to know I wasn't missing something simple.