Individual username / location tag possible?

Hi,

Is it possible to have a login page that includes, say, username, location (drop down menu) and password, that keeps the user logged in, until s/he signs out.
And all entries made thereafter get tagged to that “location” and “user,” and get automatically date and time-stamped?

Satchit

Hi Satchit,

Though we just discussed this offline, here’s the response for others who might be wondering about the solution for this:

It’s possible to log the username of the person submitting data and store it inside the dataset. For this go to Settings and tick ‘Require authentication to see forms and submit data’. In your form you need to tick the meta question ‘username’. To have multiple users be able to submit to your form just first create different new users in KoBo and then give them ‘can submit to’ rights to your project.

To log the user’s location you have two options: 1) Keep a database of the different users’ location (user 1 = site A, user 2 = site b, etc.) so you won’t have to ask their location at all. 2) Ask a single-select question at the beginning of the form to query their location, or user a cascade select question in case there are many sites (first select region, then select site within that region).

Time stamps are included by default in your dataset for both the start end end time points; these are metaquestions like username in your form. The dataset will also include the timestamp of when the record was submitted to the server.

Best,

Tino

···

On Mon, Jul 6, 2015 at 4:31 AM Satchit Balsari satchi...@gmail.com wrote:

Hi,

Is it possible to have a login page that includes, say, username, location (drop down menu) and password, that keeps the user logged in, until s/he signs out.
And all entries made thereafter get tagged to that “location” and “user,” and get automatically date and time-stamped?

Satchit

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo-...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.

Hi Tino i tried what u suggested above to tag the username to every dataset but on seeing the Json for the submission the submitted_by: is null i have pasted the Json below for your referral

[
    {
        "_notes": [],
        "meta/instanceID": "uuid:0c976bc1-de5c-44e2-b86f-2d071dd58631",
        "section1/fnm_variabl": "sfx",
        "_submission_time": "2016-08-19T08:50:44",
        "_uuid": "0c976bc1-de5c-44e2-b86f-2d071dd58631",
        "_bamboo_dataset_id": "",
        "_tags": [],
        "_attachments": [],
        "_submitted_by": null,
        "_geolocation": [
            null,
            null
        ],
        "section2/str_section2_1": [
            {
                "section2/str_section2_1/st_str1l001": "35",
                "section2/str_section2_1/sv_g3gmlf8g": "dsd",
                "section2/str_section2_1/i1": "1",
                "section2/str_section2_1/sv_myvarb": "sddsd"
            }
        ],
        "_xform_id_string": "INSTESTHUSS15082016",
        "_status": "submitted_via_web",
        "_id": 1474322,
        "__version__": "1920467",
        "today": "2016-08-19",
        "formhub/uuid": "d8363d945fb549ef84c24ae346912199"
    }
]
···

On Monday, July 6, 2015 at 7:52:39 PM UTC+3, Tino Kreutzer wrote:

Hi Satchit,

Though we just discussed this offline, here’s the response for others who might be wondering about the solution for this:

It’s possible to log the username of the person submitting data and store it inside the dataset. For this go to Settings and tick ‘Require authentication to see forms and submit data’. In your form you need to tick the meta question ‘username’. To have multiple users be able to submit to your form just first create different new users in KoBo and then give them ‘can submit to’ rights to your project.

To log the user’s location you have two options: 1) Keep a database of the different users’ location (user 1 = site A, user 2 = site b, etc.) so you won’t have to ask their location at all. 2) Ask a single-select question at the beginning of the form to query their location, or user a cascade select question in case there are many sites (first select region, then select site within that region).

Time stamps are included by default in your dataset for both the start end end time points; these are metaquestions like username in your form. The dataset will also include the timestamp of when the record was submitted to the server.

Best,

Tino

On Mon, Jul 6, 2015 at 4:31 AM Satchit Balsari satc...@gmail.com wrote:

Hi,

Is it possible to have a login page that includes, say, username, location (drop down menu) and password, that keeps the user logged in, until s/he signs out.
And all entries made thereafter get tagged to that “location” and “user,” and get automatically date and time-stamped?

Satchit

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.