Modify

Opened 18 years ago

Closed 18 years ago

#36 closed enhancement (fixed)

Allow optional tags in annotation presets

Reported by: tom@… Owned by: imi
Priority: minor Milestone:
Component: unspecified Version: latest
Keywords: Cc:

Description

At the moment all tags listed in an annotation preset are added, even if no value is supplied. I would like to be able to indicate that a tag is optional and should not be added if no value is supplied.

This would be useful for things like a "Road" preset which could have space for both a name and a number and only add those ones which I am able to supply (if any).

Attachments (0)

Change History (2)

comment:1 by imi, 18 years ago

would it be a good idea if I never add the tag if the value is empty?

comment:2 by imi, 18 years ago

Resolution: fixed
Status: newclosed

use the new attribute delete_if_empty="1" for <text> or <combo>. This key entries, which are left empty.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain imi.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.