Laddawn.com : Create SearchFieldOption object

To accomodate the questions that have options listed under them, we will need a way to attach different properties to different options.

The initial properties will be:

  • Value - The value to pass to the RPC representing the choice made by the user. This will be unique for a given question.
  • Text - The user readable version of the value.  For example, the value may be DK_BLUE, but the text will say Dark Blue.  Given current design, this would be the part of the text next to the option buttons that are Bold.
  • Description - More descriptive text that tells the user why they would choose one option over the other.
  • Enabled: A 0/1 flag specifying if the option is available given the current answers to the questions. For example if the if metalocene is selected means the user cannot choose Postal approved material then postal approved would still be in the list, but the enabled flag would be 0,

We will not impletment a GetByFilter for this as the SearchField.GetOptions will return a list of SearchFieldOption.  We will not yet implement a GetbyID as of yet either.