XForms Module Tool Bar
Gives quick access to form designer commands. You can move the mouse over any tool bar icon and get tip text about the name of the command.
New Form
Creates a new form. This is only useful when you launch the form designer from the Administration screen and then select the Xforms Designer link.
Open
Opens a new form. This is only useful when you launch the form designer from the Administration screen and then select the Xforms Designer link.
Save
Saves the loaded form together with all its widgets.
Add New
Adds a new item at the same level as the selected item. For instance if a form is selected, this should add a new form, if a question is selected, this should add a new question, if a page is selected, this should add a new page. If there is no form in the forms panel, this should add a new form, page, and one question. Adding new items is only useful when you launch the form designer from the Administration screen and then select the Xforms Designer link. Otherwise if you want to add a new item to the form, add it on the OpenMRS Form Schema page and then launch the form in the designer where you will refresh it.
Add New Child
Adds a new item which is a child of the selected item. If there is no form in the forms panel, or if the selected item should have no children (e.g text question) then this does the same as Add New. A form's child is a page, a page's child is a question, a single select, multiple select question has children which are options. A repeat question has children which are questions.
Delete Selected
Deletes the selected item. This could be a form, page, question, or question option.
Move Up
Moves the selected item one position above.
Move Down
Moves the selected item one position below.
Cut
Removes the selected item and copies it to the clipboard.
Copy
Copies the selected item to the clipboard.
Paste
Pastes the selected item from the clipboard as a child of the selected item. If the clipboard item is not a child of the selected item, then the paste command is ignored.
Refresh
Reloads the form and gets all the new changes which have been made on the Design Form Schema screen. This can be useful when you for example delete or add new fields to the form on the Design form Schema Screen and you want then reflected in the form designer.
Align Left
Aligns widgets on design surface to the left of the widget which was selected last.
Align Right
Aligns widgets on design surface to the right of the widget which was selected last.
Align Top
Aligns widgets on design surface to the top of the widget which was selected last.
Align Bottom
Aligns widgets on design surface to the bottom of the widget which was selected last.
Make Same Width
Makes widgets on design surface to be the same width as the widget which was selected last.
Make Same Height
Makes widgets on design surface to be the same height as the widget which was selected last.
Make Same Size
Makes widgets on design surface to be the same size as the widget which was selected last.
Resources
XForms was discussed on a May 9th University call. Watch xforms video