Formulize

Forms, workflows, and reporting. 100% free and open source.

Version 7.3 out now!How to installHow to update

Download .zip View on GitHub Join us on Slack Follow on Twitter

entryExists( (int) $entry_id )

Description

Checks if a given entry id exists

Parameters

$id - an entry id to look for

Return Values

Returns true if the entry exists, false if the entry does not exist.

Example

// does entry 19 exist in form 6
$form_id = 6;
$dataHandler = new formulizeDataHandler($form_id);
if($dataHandler->entryExists(19)) {
    echo "It exists!";
}