Questions tagged [entry-form]
The entry-form tag has no usage guidance.
27
questions
0
votes
0answers
20 views
Craft Commerce - On the fly product / product from entry form
Good Evening.
Does anyone know if the following is possible within Craft Commerce
Can data from normal entries be used to populate a one-off on-the-fly product?
Can an entry form be used to create ...
0
votes
0answers
26 views
What’s the pattern for Entry Form inputs for Assets meta data fields?
The templating pattern for Entry Form inputs for Assets files is clear enough.
But how can I provide inputs in an Entry Form for meta data pertaining to an Assets file?
For example, I have fields like:...
1
vote
1answer
31 views
Front-end entry form not updating custom fields in existing entry
I have an entry form (in a local v3.5.13.1 dev context) configured to update existing entries in a particular section. On load, it’s reflecting existing data (input via the Craft control panel) ...
1
vote
1answer
48 views
Send currentUser id along with uploaded asset
I've created an entry form with an assets field. All works great, uploading to portfolio/{currentUser.id} directories. On edit forms I only want to list assets uploaded by the currentUser so the ....
1
vote
1answer
28 views
How get field type in field layout
I'am building a website (craftcms 3.4+) where I'll need frontend entry editing. Therefore I'll need the fieldlayout of an entry. This is what I'll have:
{% for tab in entry.fieldLayout.tabs %}
...
0
votes
0answers
35 views
Using Solspace Freeform to create an entry including a file upload
I have recently been having some issues using the Solspace plugin FreeForm. I have created a front end entry form which, when submitted, creates an entry in a specified section in the CP. I have used ...
0
votes
1answer
71 views
Removing a matrix row via front end entry form
Read some similar posts on here but they don't quite solve my problem. I've gt an entry form with a matrix field in it, and I’m trying to make it editable via front end entry form. Specifically I'd ...
1
vote
0answers
168 views
Entries as JSON files?
I work with VUE CLI and I want to build a entry form.
My first Idea to bind in the data was props. They work but i can't modify the data (because it's props :D).
To correctly integrate the data, my ...
3
votes
1answer
45 views
How to save entry to the current site from the front end?
I have a multi site setup and a front facing entry form, which saves entries always to the same site (and not the current one which is weird).
Is there a way to define to which site the current ...
1
vote
1answer
45 views
Advice on entry form file uploads and S3
Just planning out an entry form that includes a file upload field – an assets field hooked up to an S3 bucket. I see some documentation on entry form assets here, but need some advice on getting this ...
1
vote
3answers
525 views
Matrix fields in an entry form
I'm attempting to get matrix fields to populate in an entry form (using the guest post plugin) and so far just can't seem to crack it. I've tried various examples, but all assume that you're just ...
1
vote
2answers
81 views
Does Craft have an equivalent of EE's Custom Fields loop for front-end entry forms?
We're in the process of scoping out an online assessment form to be build in Craft CMS. We need to give the client the ability to add, edit and remove questions (custom fields) and would ideally like ...
2
votes
1answer
758 views
Write to Craft via Element API
I’d like to use Craft as a headless CMS for my mobile app (via the Element API plugin). However, in addition to reading data, I’d also like to write data back to Craft.
It looks like this is ...
1
vote
1answer
48 views
Entry Form: Populate checkbox list from another entry and save options in entry
I am trying to load some options in to a checkbox list from another entry so that a user and save select them form a checkbox list but I am unable to save the Entry Form with their selection.
I have ...
0
votes
0answers
39 views
Switch entry type depending on entry field
Is there a way to switch entry type dynamically depending on the selection of a field value on a entry page? For instance, could I have a structure for motorized transportation and then have a ...
1
vote
2answers
612 views
Help with tags input field on a front-end entry form
I need to make a "keywords" field on a front-end entry form that can create tags in the cms (Craft 2). I am fully aware of existing tickets regarding this issue like Brandon Kelly's but they're a ...
1
vote
1answer
1k views
Craft 3: Front End Entry Form
I am following the documentation for Craft 2 here to create an entry form on the front end of my website. The form appears correctly on the front end but when I submit it, I get the following error:
"...
0
votes
0answers
67 views
Editing expired entries from the front end
I'm trying to edit an expired entry from the front end.
However, when I hit save, none of the changes persist and a redirect doesn't take place.
Entries that have a live status are fine. Even when I ...
1
vote
1answer
614 views
Matrix Entry form
I'm trying to post a public entry form in a matrix field. I've added a count so that the block id is unique. However it's just clearing the matrix field and saving a single entry.
{% set matrix = ...
4
votes
1answer
470 views
Entry Form - Multiple Entries & Entry Type & Parent
I'm building an MVP for a project, I'm using Craft and would like to:
Create an experiment (/experiments/)
Create multiple cages for the animals within the previous created experiment eg. 5 cages - (/...
1
vote
2answers
143 views
How to update front end Craft new row - stuck on JavaScript
I'm building out a front end entry form with a Natrix and everything is coming along fine. However when users create a new row each new row needs to be unique in order to be saved. This is where I'm ...
1
vote
1answer
126 views
How to submit custom fields that are added in the right pane to your plugin?
I'm making my first Craft plugin.
I have added custom fields to the right of an entry form with the cp.entries.edit.right-pane hook ("Share on..").
But I can't seem to find how to 'transfer' these ...
2
votes
1answer
240 views
how to specify entry type on front end entry form?
I have a section with 2 entry types. Logged in users need to be able to submit to each type. I had planned on having 2 different entry forms.
How do I tell the form which entry type to save to? I ...
5
votes
1answer
353 views
How do I allow a user to remove an uploaded asset from a front-end entry form?
I see for users, I can add a hidden field <input type="hidden" name="deleteUserPhoto" value="1" /> to remove the uploaded photo, however I need to allow this functionality for an assets field in ...
3
votes
1answer
340 views
Can I make the front-end entry form send an email to a user group?
I've used the front-end entry form in the docs to build a Q&A portal, and it's working great. But I'd like to extend the functionality once the new entry is saved.
I've set the entries up to not ...
1
vote
1answer
499 views
frontend form action: save as draft or publish
in my frontend entry form I have a "save as draft" submit button.
The current action for this form is the following, which saves the entry submitted through the form as a draft (status: disabled):
&...
1
vote
1answer
242 views
Entry Form doesn't save the entry and goes to 404 page
I have a frontend Entry Form that will not save an entry and goes to a 404 page.
Basically i have this:
<form method="post" accept-charset="UTF-8" enctype="multipart/form-data" class="add-a-...