Skip to content

Settings and activity

8 results found

  1. 3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    Peter commented  · 

    Scripts of the same type are executed in the order in which they were created. This forces you to create them in a certain order.

    Peter supported this idea  · 
  2. 15 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    Peter supported this idea  · 
  3. 1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    Peter shared this idea  · 
  4. 2 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    Peter commented  · 

    - In the color section of a field source.
    Sorry, I wanted to say:
    - in the selection of the font color of the different fields in which this option is available

    Peter shared this idea  · 
  5. 7 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    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=5XLRpw4M57U

    Basically 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 Card

    Script:

    // 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 Entry

    Script:

    entry().set("imageBoxModel","");

    Help while editing an Entry
    ---------------------------
    Event type: Updating an entry
    Phase: Opening an Entry Edit Card

    Script:

    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 Entry

    Script:

    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 Entry

    Script:

    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 Entry

    Script:

    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;
    }

    An error occurred while saving the comment
    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.

    Peter shared this idea  · 
  6. 14 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    Peter shared this idea  · 
  7. 2 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    Peter shared this idea  · 
  8. 7 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    Peter shared this idea  ·