Currently we have the following syntax:

[select]
[option "Some Value"]Some Value
[option "Another Value"]Another Value
[select]

Works fine. Except it is really quite easy to get it to do:

[select]
[option "Some Value"]
[option "Another Value"]
[select]

And output the same html. But then there are times you might want:

[select]
[option "1"]Some Value
[option "2"]Another Value
[select]

In which case my new code would output 1Some Value and 2Another Value.
Not what we want. So there needs to be some syntax for specifying
whether we want the value of the options to also be output to the
html. I do not have easy access to whether or not there is text
outside the option markup, which would be the obvious solution. I also
would like to avoid breaking existing sites, though that is not
absolute.

Suggestions are to do:

[select]
[option "Some Value"]
[option value="1"]Another Value
[select]

Manually enter value= to specify that you don't display the value.
Disadvantage, could break sites. But I like it.

or

[select]
[option label="Some Value"]
[option "2"]Another Value
[option value="3"]A Third Value
[select]

Uses a special parameter like label or display or something that means
use for internal value and display both. This preserves current
functionality.

There may also be other options. Any thoughts?

Cheers,
Dan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to