anyInventory 1.9.1
Adding Fields

To begin tracking your receipts, you must add the fields listed on the previous page so that you can enter in the data later. For this, proceed to the field addition page. There, you will see something that looks like this:


Only for data types 'Multiple', 'Select Box', 'Checkbox', and 'Radio Buttons.' Separate with commas.

Only for data types 'Multiple', 'Select Box', 'Text', and 'Radio Buttons.'

Only for 'text' data type.

Select none

Let's begin adding our fields, shall we? First up is the date of purchase.

"But wait," you might say. "Shouldn't we keep track of the name of each item?" Don't worry. You will never need to create a field to track an item name; that is one of only two built-in fields in anyInventory, the other being the auto-incrementing field.

If you choose to check the box marked "Highlight this field," this field and its value will appear with a highlighted background in the item's description. This might be useful for denoting special fields for an item, such as UPC, serial number, or product codes.

Back to the purchase date: first, we enter in the field name:


Only for data types 'Multiple', 'Select Box', 'Checkbox', and 'Radio Buttons.' Separate with commas.

Only for data types 'Multiple', 'Select Box', 'Text', and 'Radio Buttons.'

Only for 'text' data type.

Select none

There we go. Now, we select what type of field we want. Since "text" is already selected here, there's no need to change the data type.

The "default value" defines what will appear in a field by default when you add an item. For this, maybe we want to remember what format in which to enter the date, so we set the default as YYYY/MM/DD:


Only for data types 'Multiple', 'Select Box', 'Checkbox', and 'Radio Buttons.' Separate with commas.

Only for data types 'Multiple', 'Select Box', 'Text', and 'Radio Buttons.'

Only for 'text' data type.

Select none

Next is the size of the field. This limits how many characters can be entered in the field. Since we already know the format of our date, we can set this to 10, exactly enough to hold our format of date.

Note: if this is set to 256 or more, you will be given a text box rather than a text field to enter your data. The text box, shown below, simply makes more data visible as your enter it.



Only for data types 'Multiple', 'Select Box', 'Checkbox', and 'Radio Buttons.' Separate with commas.

Only for data types 'Multiple', 'Select Box', 'Text', and 'Radio Buttons.'

Only for 'text' data type.

Select none

The last field, "Apply to," deals with applying this field to a set of categories. We don't need to worry about this, since we have not added any categories yet. If we had already added some categories, we could select which categories we wanted to contain this field. Adding fields to categories is described lated in adding categories.

Adding the total price and item purchased fields will work the same way, but let's take a look at one of the other fields to see how adding an enumerated field works, "enumerated" meaning that you can specify a set of values for the field.

Let's add the "place of purchase" field now, which is of type "multiple." (We set it as multiple instead of select in order to allow us to type in a place if it doesn't appear in the list.)

First, we enter in the field name and choose the field type:


Only for data types 'Multiple', 'Select Box', 'Checkbox', and 'Radio Buttons.' Separate with commas.

Only for data types 'Multiple', 'Select Box', 'Text', and 'Radio Buttons.'

Only for 'text' data type.

Select none

The next thing we need to do is to give this field some values. We do this by entering the stores we want to appear in the list, separated by commas. So, let's put in the five stores we shop at the most often, and we'll set the default to the store that we shop at the most.


Only for data types 'Multiple', 'Select Box', 'Checkbox', and 'Radio Buttons.' Separate with commas.

Only for data types 'Multiple', 'Select Box', 'Text', and 'Radio Buttons.'

Only for 'text' data type.

Select none

Once again, since we have not added any categories yet, we can ignore the "Apply to" field.

This field, when it is shown on an item addition page, will look like this:

Adding a radio button, checkbox, or select field works in the same way.

Adding a field of type 'file' allows you to upload a file for that field instead of typing or selecting a value. As of version 1.6, this replaced the built-in "File Upload" and "Remote File" fields.

you have inventoried 8 items with anyInventory, the most flexible and powerful web-based inventory system