Skip to content

Is it possible to get all available submissionIDs? #14

@jdrathe

Description

@jdrathe

I want to use a loop to get all LastName, FirstName and submissionIDs for a given form. I will use this to create a hyperlink that passes the submissionid on to another page that will display the form.
Pseudocode:
foreach{
$IDs= getAllSubmissions;
$form_id = 1;
$submission_id = ?;
$submission = $api->getSubmission($form_id, $submission_id);
$array = array($submission["LastName"], $submission["FirstName"]);
$comma_separated = implode (", ", $array);
echo "<a href='ViewForm.php?submission_id=$submission_id'target='_blank'>$comma_separated";
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions