Adding "empty_label" parameter to PredefinedOptions tag

Adding "empty_label" parameter to PredefinedOptions tag

Imported from: http://groups.google.com/group/in-portal-dev/browse_thread/thread/41c321a3714ed112#

Tag PredefinedOptions is used to output all options, associated with a given field, e.g.

  • country list

  • state list

  • possible link statuses (Active, Pending, Disabled)

It has several special parameters:

  • "has_empty" - adds first empty option before other options

  • "empty_value" - value of first empty option

Problem is that there is no way to specify that empty options's text. Now there is with this patch and new "empty_label" parameter.

Related Tasks

Comments