Foros/Web Access and Managing Contents/Managing your files & folders

Answered

Can I add customize fields for folders and files into Oonair?

Support Oonair
asked this on Feb 07 18:39

Now you can add custom fields to your folders and files. An example can be to add specific information like the code or model number of a product you just capture on a photo and need to send to Oonair. Create the field on your Web, they will appear on the information window either on your folders or in your files once you captured them.

custom_field_folder.png

To create a field you must login as an administrator in Oonair. Select if you wish to create new fields for your folders or files (manage > custom fields). Choose among the options of fields to create:

  • Text field
  • Checkbox field
  •  List field
  •  Date field
  • Multiline field

A window will appear with the information you must add to create the field. Among the different types of fields the information that you need to add might change, so here is a little table to use as a guide:

TypeDescription

Text field

text_field.png

This is a simple line to add text.

Need to add: Name of field.

Checkbox field

checkbox.png

This is used to capture a Yes/No value.

Need to add: Name of field.

List field

list.png

This field allows you to create a list of options for users to select. Each option in the custom field is a tag. This tag will make it easy to find your content.

Need to add: Name of field, options.

Date field

date.png

In this field your users can enter a date chosen by a popup calendar. This popup is to make sure that the information introduced keeps the date format.

Need to add: Name of field.

Multiline field

multiline.png

This field allows to add more than one line for text.

Need to add: Name of field.

You can chose if you wish your field to be mandatory or not. Select the Checkbox with the option if you wish so.

 

Regular expression

Regular expressions are a group of specific chain characters which allows to compare the information added and verify that is correct. For example, one of your field is an e-mail address. You will need the information to at least have "@", .com, .net, etc. To compare, your regular expression should be with the "characters"@"characters"."com" format.

Here is a list of some common Phyton regular expressions:

  • E-mail: (?:^|\s)[-a-z0-9_.]+@(?:[-a-z0-9]+\.)+[a-z]{2,6}(?:\s|$)
  • Postal code: [a-z]{1,2}\d{1,2}[a-z]?\s*\d[a-z]{2}
  • Hour: \d{1,2}:\d{1,2}(?:\s*[aApP]\.?[mM]\.?)?
  • URL: ^(https?|ftp)://[a-z0-9-]+(\.[a-z0-9-]+)
  • Phone number: 0[-\d\s]{10,}
  • Social Security Number: [a-z]{2}\s?\d{2}\s?\d{2}\s?\d{2}\s?[a-z]

 

To check if the regular expression used is correct, click here.

 
Topic is closed for comments