Customer Login

Recover Password

WorkOrder TS Support Database


Bookmark: Root \ WorkOrder TS Guides \ Configure Dynamic Fields in WorkOrder TS

Configure Dynamic Fields in WorkOrder TS

Last Updated: 2012-09-17
The WorkOrder TS 0.7.5 update added the ability to create custom form fields.
It is currently possible to create string, dropdown, radio, password, date and textarea input fields to store almost any kind of data.

The 0.7.60 update added the ability to group required fields and build an OR relationship. So having input in one group member will satisfy the
"required check" for all other members of the group as well.

* Deleting a field will also delete any information stored within the field! Try "Enable/Disable" instead.
* Disabling a field will not display the field on existing ticket, even if it contains data.
* Ensure that every user has logged out or closed their browser before you create new fields or delete existing ones!
* Every change will reconfigure your database structure! Ensure that you have working backups!
* Please use the "Logoff" link to clear your own cache after you modify any settings.

Creating fields is easy and I will explain how to create some of the fields you see in the screenshot above.
The Position, Group and Options settings are optional. All settings besides the field type may be changed later on.

The string field can hold letters and numbers so it is perfect for text upto 255 characters long.

The password field creates a string input box which is excluded from the search index.
Setting this field type to required will generate a checkbox labeled
"Empty or no foo" where foo will be the name of your field.

The radio field can create radio select buttons from a comma separated list. A wildcard * marks the default value.
You may create an item type field by selecting "radio" from the dropdown menu and enter a name into the "Field Name".
The "Options" box holds a comma separated list of the items you want to select.
This recommended, paper, radio, tv will create the fields from the example pictured above.
Alternative/advanced syntax: Label1:Value1,Label2:Value2

The select field works like the radio field but it does not support the wildcard * option.
You may create a "How did you hear about us" box by selecting "select" from the dropdown box and
enter a name into the "Field Name".
The "Options" box holds a comma separated list of items.
This ,recommended, paper, radio, tv will create the fields from the example pictured above.
Note that there is nothing in front of the first comma. This will create an initial selection of
"nothing" so you can set it as required and your employees need to make a selection before the field is accepted.
Alternative/advanced syntax: Label1:Value1,Label2:Value2,,foo:bar

The date field adds a date input form item with a javascript date selector. Adding a date
field to a ticket will also add an ascending / descending order option to the store overview for that field.

The textarea may contain a lot of text and is displayed as a multi line input box.
The "Options" box may hold HTML textarea settings. The default is rows="4" for a 4 row long text field.

The following screenshot highlights the important settings when creating a group.
The group number must match and the required flag needs to be set.

You may use groups to create an OR relationship between required fields.
If two fields share a group then having input in one will satisfy the required check for
all other fields in the same group. Groups may be created with different field types
and may be created and removed at will.
This feature will be expanded to create AND relationships in a future release.


No Comments yet .....


Add Your Comment:

Note: All posts require administrator approval. Please allow 24 hours for message approval.

Plain text only, less then 65 000 characters.

Please answer the question above and type the answer into the text box below.