Contents
Index 🔎︎

# Add / Edit

Adds a new item or edits the selected item in the XForms Data Navigator. Items can be elements, attributes, submissions, or bindings.

LibreOffice inserts a new item directly after the currently selected item in the Data Navigator. A new attribute is added to the currently selected element.

### Name

Enter the name of the item.

The attribute names must be unique within the same group.

### Type

Select the type of a new item. You cannot change the type of an edited item.

### Default value

Enter a default value for the selected item.

## Settings

Specifies the properties of the selected item.

### Data type

Select the data type for the selected item.

### Required

Specifies if the item must be included on the XForm.

The Condition button opens the Add Condition dialogue box in which you can enter used namespaces and full XPath expressions.

### Relevant

Declares the item as relevant.

The Condition button opens the Add Condition dialogue box in which you can enter used namespaces and full XPath expressions.

### Constraint

Declares the item as a constraint.

The Condition button opens the Add Condition dialogue box in which you can specify the constraint condition.

### Read-only

Declares the item as read-only.

The Condition button opens the Add Condition dialogue box in which you can enter used namespaces and full XPath expressions.

### Calculate / Calculation

Declares that the item is calculated.

The Condition button opens the Add Condition dialogue box in which you can enter the calculation.