Add a value of " " (nothing) in menu list

I need a value of " " (nothing) in a menu list.

Freeway generates this by default:

            <option>( all )</option>
	<option value="value1">item1</option>
	<option value="value2">item2</option>
	</select>

And I want this:

            <option value="">( all )</option>
	<option value="value1">item1</option>
	<option value="value2">item2</option>
	</select>

Short of using source code snooper, or using “insert HTML” is there and way of doing this in Freeway?


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I can’t see any way around this, except maybe with an Action. I was
able to get it to make a value of " " (by inserting a space in the
Value field), but not “”. This feels like one of Freeway’s helpful
efficiency features. I doubt that it’s invalid, but it doesn’t seem
right, either.

//a few minutes later//

This was so easy to fix in an Action, that I just wrote one. There’s
a page and an item version in the same Action file. It also adds back
the Label attribute which Freeway doesn’t seem to include in its
select lists either.

http://freewaypro.com/actions/downloads/selectfix.fwaction

Walter

On Dec 29, 2007, at 12:44 PM, PrintlineAdv wrote:

I need a value of " " (nothing) in a menu list.

Freeway generates this by default:

            <option>( all )</option>
  <option value="value1">item1</option>
  <option value="value2">item2</option>
  </select>

And I want this:

            <option value="">( all )</option>
  <option value="value1">item1</option>
  <option value="value2">item2</option>
  </select>

Short of using source code snooper, or using “insert HTML” is there
and way of doing this in Freeway?


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

thanks Walter - I’ll check it out

On 29 Dec 2007, at 8:06 pm, Walter Lee Davis wrote:

This was so easy to fix in an Action, that I just wrote one. There’s

a page and an item version in the same Action file. It also adds back

the Label attribute which Freeway doesn’t seem to include in its

select lists either.

David Owen ::
Freeway Friendly Web Hosting and Domains
http://www.PrintlineAdvertising.co.uk/freeway