Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [guest-entries]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
109 views

How to stop spam with guest entries plugin?

I am using the guest entries plugin and i get specific spam on a contact form. So I have edited the controller to test the message for certain words coming thru the message eg "SEO", "...
joomkit's user avatar
  • 2,034
1 vote
1 answer
333 views

Matrix field validation on guest entry submission

First I illustrate the way I set up guest entry form. Let's say I have channels blog product and comment cart. Guest entry submits to the comment cart channel. Form lives in template which I use to ...
Dominik Krulak's user avatar
2 votes
1 answer
375 views

Check for errors (any) on guest entry form (Craft 3)

I have a guest entry form that's working fine. I'm using Craft-supplied code: {% macro errorList(errors) %} {% if errors %} {% for error in errors %} {{ error }}{% if not loop.last %}, {% ...
4midori's user avatar
  • 656
1 vote
1 answer
105 views

Guest Entries plugin - set parent entry if using section

As the title suggests, is it possible to pass an entry ID in order to set a parent for the submitted entry?
Adam Menczykowski's user avatar
2 votes
1 answer
372 views

How to reference an entry field in a guest user form?

I'm new to Craft. I've been trying to wrap my head around how to design the concept of Events and Event Registrations. Currently I have both Events and Event Registrations as their own Sections as ...
David Pritchard's user avatar
1 vote
1 answer
151 views

Guest entries - send confirmation mail to person who filled out entry

Inherited a site which uses guest entries for a job application form. Postmaster plugin is being used to notify someone that a new entry has been posted but now they'd also like to send the person ...
erwinheiser's user avatar
2 votes
0 answers
442 views

Temp folder and file upload permissions issue

Using Sprout Forms Plugin, and following the front end file uploads example, I'm trying to use the famous jQuery File Upload plugin to deal with batch of large files and get upload progression. This ...
Romain P.'s user avatar
  • 1,852
1 vote
1 answer
173 views

Guest Entries plugin will only submit when logged in - not anonymously (via AJAX)

I am trying to create an entry in a section via AJAX from the front end when not logged in. I am using the 'Guest Entries' plug in for craft to do this. The entries are all the same and consist of ...
TimC's user avatar
  • 21
0 votes
0 answers
204 views

CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'targetId' at row 1

I've just upgraded to the latest version of Craft on a site that uses the Guest Entries plugin. While it was fine before hand, I'm now running into the titled issue. Has anyone run into this before? ...
Steven Grant's user avatar
  • 1,855
1 vote
1 answer
3k views

Can a JS string variable be used in Twig?

I've came to the situation where I need to use JS variable string and use it in Twig's variable. The plan is built on the Guest entries and Ajax form submission. On successful Ajax form submission I'...
Dominik Krulak's user avatar
1 vote
1 answer
526 views

How do you get entry's data from Ajax form submission with Guest plugin?

I'm trying to get some info from entry like entry ID that the Guest plugin sent it via Ajax. There are the keys that the plugin responds back with. How can I work out to those keys respectively call ...
Dominik Krulak's user avatar
2 votes
1 answer
121 views

I am unable to successfully submit guest entries

I am trying to submit a guest entry it keeps returning a fatal error. This is my code <form method="post" action="" accept-charset="UTF-8"> {{ getCsrfInput() }} <input type="hidden" name="...
Alistair's user avatar
1 vote
1 answer
222 views

Guest Entries - Two ajax forms for different section entries. Receiving 404 only on second form?

I am using the guestentries plugin to create two different section entries. I have two similar html forms on the same front end page. They both use the jquery validate plugin before submiting via ajax....
Brendan's user avatar
  • 21
2 votes
1 answer
505 views

Creating a guest entry, with a Matrix field, using Ajax

I'm trying to submit a guest entry by building a javascript array of objects to mimic a form submission and submit using ajax. I've managed to successfully submit the entry with just a title but when ...
Amos Whitewolf's user avatar
1 vote
1 answer
184 views

Guest Entries creating new entry instead of editing the current one

I am using the GuestEntries (https://github.com/pixelandtonic/GuestEntries) Plugin to try to allow guests to update entries. I have it working to where a guest can come to the page and fill out the ...
CongdonJL's user avatar
2 votes
1 answer
196 views

Is it possible to use `guestEntries.beforeSave` to validate custom fields?

Say, I want to validate an email address or a special URL e.g. YouTube URL, would I be able to use a custom plugin with the guestEntries.beforeSave hook to do this? The basic hook call: craft()->...
Erik's user avatar
  • 306
1 vote
2 answers
202 views

Before saving Guest Entries, redirect to an entry review page?

With guest entries, am I able to redirect before actually saving the entry to say a review page for the user to see the entry? I figure I could use the guestEntries.beforeSave hook, but not sure how ...
Erik's user avatar
  • 306
1 vote
2 answers
641 views

Is it possible to output message on successful save with Guest Entries?

I'm currently using the Guest Entries plugin with a front-end form to accept contact form submissions. I'm just wondering if it's possible to output a message on a successful form being saved? In an ...
André Goldstein's user avatar
1 vote
1 answer
43 views

Three duplicated guest entries posted on form submision

I was doing some design tweaks to the form today, barely touched coding parts and than I went for a test run to see if it submits an entry. Everything run as it was on the front end except on the back ...
Dominik Krulak's user avatar
3 votes
1 answer
490 views

Is it possible to modify the input format for dates in front end form?

From other threads and my own tests a date field needs to be input in the format of 10/15/2012 (mm/dd/yyyy). But that's not very "British", is there any way to modify it?
Paul Frost's user avatar
  • 1,060
5 votes
2 answers
1k views

Populating tables and matrix fields using GuestEntries

Is it possible to populate a Matrix Field, Table and Lightbox using the GuestEntries plugin from an HTML form? I'm trying to build an RSVP form, and am not having a lot of luck with different field ...
Ian Nebbiolo's user avatar
2 votes
1 answer
203 views

Adding a postDate with Guest Entries

Is it possible to set the postDate for a new (disabled) entry created using the GuestEntries plugin? Otherwise when posting a GuestEntry the postDate is not set until the entry is enabled or re-saved ...
Ian Nebbiolo's user avatar
0 votes
1 answer
91 views

Guest Entries required fields fatal error

I've built a comment system using Guest Entries. If I set fields to be required and don't fill them in in the front-end, I get the following error. Fatal error: Class 'Craft\GuestEntriesEvent' not ...
Ian Nebbiolo's user avatar
2 votes
1 answer
954 views

Ajax Post to guestEntries/saveEntries from another domain

I have a separate Craft install that I am using to communicate to a few different sites. I have a front-end form on another one of these sites (a React.js app) that is looking to post back to this ...
Rob Erskine's user avatar
1 vote
1 answer
858 views

Guest Entries - Saving entries as drafts

We're using Guest Entries for comments. When the user posts an entry it automatically appears as a published entry. I'd like to change this functionality so that the entry will enter as a draft until ...
Zach Shallbetter's user avatar
3 votes
0 answers
698 views

What's the easiest way to update an entry from the front end as a guest user and only post the data that needs to be updated?

I'm creating a multi-page form on the front end of a site where different data is added to the entry depending on the page they are on. Originally I was going to create the entries using P&T's ...
Stephen Bowling's user avatar
0 votes
2 answers
443 views

Can GuestEntries edit existing entries?

I'm trying to use <input type="hidden" name="entryId" value="{{entry.id}}"> on a GuestEntries form. However, instead of editing the entry with the set ID, it creates a new post. Am I missing ...
Joshua Pease's user avatar
1 vote
1 answer
237 views

Front-End Entry (Guest) saving correct values on error

I'm building a Guest Entry Form, and one of the fields is a dropdown. Everything feeds through fine, but if one of the other fields has a validation error, I can save any inputted data with the code ...
Simon Clayson's user avatar
1 vote
1 answer
900 views

Submit via ajax to Guest Entries plugin

I'm trying to submit entry data via AJAX (using Guest Entries plugin) following what's written in a similar question, however even though I am not sending the data in JSON format, the data does not ...
Daniel Paras's user avatar
2 votes
1 answer
319 views

Logging IP with Guest Entries Plugin

I'm using the Guest Entries plugin and it's all working great, the problem is I'm getting spammed like mad. I've got snaptcha installed which seems to be catching some of it but I could do with an IP ...
Andy's user avatar
  • 335
1 vote
1 answer
4k views

How do I maintain paragraph formatting on textarea Guest Entries submission?

I have set up a guest entries form that receives data from the textarea snippet below and saves it into a rich text field. <textarea name="fields[comment]" placeholder="Join the discussion...">&...
Allen Pieper's user avatar
1 vote
1 answer
309 views

Catch file-size errors in Guest Entries Form

I have a front-end entry form using the Guest Entries plugin, with a file input for the user to upload a photo. I am also using the jQuery Form plugin for AJAX submission, but the behavior is the same ...
Eli Van Zoeren's user avatar
0 votes
5 answers
1k views

You don’t have the proper credentials to access this page

when trying to insert a guest entry i get the following response from craft: You don’t have the proper credentials to access this page. What can i do to avoid this and still insert the entry to craft?...
Gerritjan's user avatar
1 vote
1 answer
217 views

is it possible to edit an entry from the front-end when you're not logged in?

I'm working on a checkout process for a takeaway restaurant where anonymous visitors can place orders using guest entries. In this stage the order is saved with a status of "unpaid". Once a visitor ...
Hasco's user avatar
  • 171
2 votes
1 answer
89 views

Getting related project of a submitted 'wish' through the entry field.

I have a channel projects and a channel wishes (People can submit their 'wishes' for that particular project. In a project I made the 'entry field' projectHasWishes to connect wishes to project. ...
Tom Suter's user avatar
4 votes
3 answers
1k views

How do I save a front-end form as a specific Entry Type?

I have a few different forms on my site for different kinds of enquiries, each represented by an Entry Type with different fields in a single Enquiries channel. How can I get the entries/saveEntry ...
darylknight's user avatar
  • 3,290
2 votes
1 answer
517 views

Upload an asset in a custom form

I am trying to upload/add an asset to an entry via a form on the website. The entry saves fine when I don't include the asset field but as soon as I add the asset field and try to upload a file I get ...
Derrick Grigg's user avatar
1 vote
1 answer
604 views

Ajax Submittions to Guest Entries

Does anything need to be done to allow for ajax submittions using the GuestEntries plugin? https://github.com/pixelandtonic/GuestEntries I'm following the method used here for Contact form, it ...
Keith Mancuso's user avatar
3 votes
1 answer
388 views

Guest Entries plugin with Paypal integration?

I was wondering if someone with Paypal/PHP experience could give some suggestions on how to integrate Paypal with the Guest Entries plugin... I want to use the Guest Entries plugin to build a job ...
Hafa's user avatar
  • 141
3 votes
1 answer
303 views

How do I include custom fields of an entry type in the Guest Entries form?

I want any visitor to be able to submit links to my blog via the Guest Entries plugin, but how do I include the custom fields of my "Links" entry type in the Guest Entries form? For example, a ...
Rafael's user avatar
  • 51
4 votes
1 answer
711 views

Make fields required when using Guest Entries

This might be a bit of a Noob question but here I go: Using Guest Entries on a site and cannot figure out how to make certain fields required. Those fields are marked as required in the CP but, when ...
Jérôme Coupé's user avatar