Update form entry using the Guest Entries plugin I am trying to create a form that anyone can submit regardless if they are logged in or not. I found the Pixel &amp; Tonic Guest Entries plugin for this.
Now that I've installed and configured the plugin updating entries doesn't work. Whenever I want to update an entry a new one is created instead.

Here is the code I use:

&lt;form method="post" accept-charset="UTF-8" id="loginForm"&gt;
    {{ getCsrfInput() }}    

    &lt;input type="hidden" name="entryId" value="88"&gt;        

    &lt;input type="hidden" name="action" value="guestEntries/saveEntry"&gt;
    &lt;input type="hidden" name="redirect" value="entryform?hash={{ hash }}"&gt;
    &lt;input type="hidden" name="sectionId" value="3"&gt;
    &lt;input type="hidden" name="enabled" value="1"&gt;

    &lt;input type="hidden" name="title" /&gt;

    &lt;label for="text-naamSite"&gt;Wat is de naam van uw organisatie/onderneming?&lt;/label&gt;
    &lt;input type="text" id="text-naamSite" name="fields[naamSite]" /&gt;

    &lt;button type="reset" style="float:left;"&gt;Reset&lt;/button&gt;

    &lt;button id="send-btn" type="submit"&gt;Opslaan&lt;/button&gt;

    &lt;div class="clear"&gt;&lt;/div&gt;
&lt;/form&gt;


Thanks!
In Craft 3 / Guest Entries 2, you could pull this off without hacking Guest Entries by writing  a module that listens to the beforeSaveEntry event, and sets the id on the entry.

use Craft;
use craft\elements\Entry;
use craft\guestentries\controllers\SaveController;
use craft\guestentries\events\SaveEvent;
use yii\base\Event;
use yii\web\BadRequestHttpException;

// ...

public function init()
{
    // ...

    Event::on(SaveController::class, SaveController::EVENT_BEFORE_SAVE_ENTRY, function(SaveEvent $event) {
        $request = Craft::$app-&gt;getRequest();

        // Get the entry being edited
        $entryId = $request-&gt;getValidatedBodyParam('entryId');
        $currentEntry = Entry::find()-&gt;id($entryId)-&gt;anyStatus()-&gt;one();

        if (!$currentEntry) {
            throw new BadRequestHttpException('Invalid entry ID: ' . $entryId);
        }

        // Populate the guest submission with the entry ID, UID, and content ID
        $event-&gt;entry-&gt;id = $currentEntry-&gt;id;
        $event-&gt;entry-&gt;uid = $currentEntry-&gt;uid;
        $event-&gt;entry-&gt;contentId = $currentEntry-&gt;contentId;
    });
}


Then in your form, add an entryId input set to the hashed entry ID.

&lt;input type="hidden" name="entryId" value="{{ entry.id|hash }}"&gt;


It’s important that you hash the entry ID and use getValidatedBodyParam() instead of getBodyParam() so users can’t repurpose the form to edit any entry on your site.