Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [guest-entries]

The tag has no usage guidance.

0
votes
1answer
37 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 ...
2
votes
1answer
24 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 %}, {% ...
1
vote
1answer
28 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?
1
vote
1answer
65 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 ...
1
vote
1answer
81 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 ...
2
votes
1answer
154 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 ...
1
vote
1answer
69 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 ...
0
votes
0answers
81 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? ...
1
vote
1answer
696 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'...
1
vote
1answer
258 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 ...
2
votes
1answer
63 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="...
1
vote
1answer
88 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....
2
votes
1answer
278 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 ...
1
vote
1answer
113 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 ...
3
votes
1answer
101 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()->...
1
vote
2answers
117 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 ...
0
votes
0answers
76 views

500 error when uploading large files from front end form using Guest Entries

I have a form which has 5 file inputs, 4 of which are for images where the user has the ability to zoom and rotate an image, this is then sent to the CMS as Base64 where it gets processed via a custom ...
1
vote
2answers
315 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 ...
1
vote
1answer
28 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 ...
3
votes
1answer
351 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?
3
votes
2answers
654 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 ...
2
votes
1answer
104 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 ...
0
votes
1answer
75 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 ...
2
votes
1answer
630 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 ...
1
vote
1answer
448 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 ...
3
votes
0answers
486 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 ...
0
votes
2answers
289 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 ...
1
vote
1answer
195 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 ...
1
vote
1answer
731 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 ...
2
votes
1answer
190 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 ...
1
vote
1answer
1k 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...">&...
1
vote
1answer
261 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 ...
0
votes
5answers
747 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?...
1
vote
1answer
184 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 ...
2
votes
1answer
81 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. ...
3
votes
3answers
936 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 ...
2
votes
1answer
376 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 ...
1
vote
1answer
483 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 ...
3
votes
1answer
367 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 ...
2
votes
1answer
177 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 ...
4
votes
1answer
495 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 ...