Create new tag/label objects to help with data interpretation while they´re introducing or revising.
As it´s difficult to explain visual aspects only with words, I have uploaded some images of before and after the introduction of these objects in an example library:
https://groups.google.com/forum/#!topic/mementodatabase/kVkPznHbvgM
I would like to make a suggestion to improve the Memento user experience.
It would be, the creation of 3 new objects: Tag image, tag text and tag line.
The functionality of these objects would be to facilitate the introduction, reading and interpretation of the data in the Library.
- Tag Image: It would be great for help in the introduction of abstract data like: a, b, BX - 2345DF, ....
Or also to improve the visual aspect of the library being able, for example to put a logo on each entry.
The properties could be:
The title,
A check tick "Show option button".
And you could also add a small option button to show-hide the image at will.
- Tag Text: It would have a visual purpose.Some of its uses could be:
Located in the head of the library, as a quick identifier that tells us in which library we are.
It could also serve to visually highlight some important fields.
The properties could be:
The title,
Choose the font,
Size and
Color.
- Tag Line: It could serve to mark the separation between fields that have some relation.
It is true that this can already be done with the page object, but this way you could make that distinction on the same page.
As properties you could choose:
The type of line: continuous, dotted, grated ....
The thickness of the line and
its color.

-
Peter commented
Hi, here is how I "solved" the suggestion that I made some time ago in: https://groups.google.com/forum/#!topic/mementodatabase/kVkPznHbvgM
you can see the sample video here:
https://www.youtube.com/watch?v=5XLRpw4M57UBasically I use a checkbox to show or hide an image that will serve as visual support when choosing the correct value of a dropbox field located just below.
Then I use the value of the field I´ve just selected in the checkbox to insert the corresponding image in the image field.Fields I used:
- title: I only use this text field as a tagText to show the name of the libray. Default value: ORDERS; Font: Bold,Red and bigger than the rest of the text.
- idOrder: Integer number. Default value: 0, autoincrement
- date: date field
- client: text field. Autocomplete
- Show Help boxModel: Checkbox field. Default value: No. I use this field to show/hide the visual help using dependencies with imageBoxModel.
- imageBoxModel: image field used as a tagImage field wich stores image help to fill the dropBox below. Dependecies of the field: Visible when the checkbox is checked. It will be shown by default with triggers. Name of the field property: hidden.
- boxModel: dropBox with values: BX - 2345DF, BXF - 0123, BX - 87562, BXG - 2356
- image: image field that will be filled with triggers with the selected box in the dropBox field boxModel. It will be the thumbnail. I hide this field while creating an entry using dependencies with the checkbox field, not allowing its visibility in all cases.The scripts to Show the Help while filling/updating the fild are...
Help while creating an Entry
----------------------------
Event type: Creating an entry
Phase: Opening an Entry Edit CardScript:
// To know the correct path on my device:
// I used a test image field and I have exported it to csv,
// then I looked at the csv the path it gave me.
var path = "file:///storage/emulated/0/mementoImages/Boxes.jpg";
entryDefault().set("imageBoxModel",path);Erase Help after creating an Entry
----------------------------------
Event type: Creating an entry
Phase: Before saving the EntryScript:
entry().set("imageBoxModel","");
Help while editing an Entry
---------------------------
Event type: Updating an entry
Phase: Opening an Entry Edit CardScript:
var path = "file:///storage/emulated/0/mementoImages/Boxes.jpg";
entry().set("imageBoxModel",path);Erase Help after editing an Entry
---------------------------------
Event type: Updating an entry
Phase: Before saving the EntryScript:
entry().set("imageBoxModel","");
The scripts to fill the image with the correct box while creating/editing an Entry are...
Fill image while creating an entry
----------------------------------
Event type: Creating an entry
Phase: Before saving the EntryScript:
var boxModel = entry().field("boxModel");
var pathBox1 = "file:///storage/emulated/0/mementoImages/BX-2345DF.jpg";
var pathBox2 = "file:///storage/emulated/0/mementoImages/BXF-0123.jpg";
var pathBox3 = "file:///storage/emulated/0/mementoImages/BX-87562.jpg";
var pathBox4 = "file:///storage/emulated/0/mementoImages/BXG-2356.jpg";
switch(boxModel) {
case('BX - 2345DF'):
entry().set("image",pathBox1);
break;
case('BXF - 0123'):
entry().set("image",pathBox2);
break;
case('BX - 87562'):
entry().set("image",pathBox3);
break;
case('BXG - 2356'):
entry().set("image",pathBox4);
break;
}Fill image while editing an entry
----------------------------------
Event type: Updating an entry
Phase: Before saving the EntryScript:
var boxModel = entry().field("boxModel");
var pathBox1 = "file:///storage/emulated/0/mementoImages/BX-2345DF.jpg";
var pathBox2 = "file:///storage/emulated/0/mementoImages/BXF-0123.jpg";
var pathBox3 = "file:///storage/emulated/0/mementoImages/BX-87562.jpg";
var pathBox4 = "file:///storage/emulated/0/mementoImages/BXG-2356.jpg";
switch(boxModel) {
case('BX - 2345DF'):
entry().set("image",pathBox1);
break;
case('BXF - 0123'):
entry().set("image",pathBox2);
break;
case('BX - 87562'):
entry().set("image",pathBox3);
break;
case('BXG - 2356'):
entry().set("image",pathBox4);
break;
} -
Peter commented
Everyone knows that a picture is worth a thousand words.
The fact of being able to have an image of support when filling certain fields, would be of great help.
While the tag image object is not available, a way to achive something similar would be to add the property: "set default image" to the image fields.
The reality is that at the moment there is no such property and there is no tag image object, so the only thing we can do is ask the developer to include them in future updates.
But we can still do something. And it´s to use the "text field description" from a text field to describe in words and in the best possible way what a simple image could do. You could also give visibility to the text help using "dependencies of the field".
So, depending on whether or not you have marked a previous boolean checkbox, display or not the text help.
I hope this can help someone.