Questions tagged [frontend-form]

The frontend-form tag should be used for any question related to forms build on the front-end.

18 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
694 views

How to Upload Multiple Assets Using Frontend Form

I'm trying to create a more interactive experience to upload moultiple images on a frontend entry form. Things I have done: I have implemented the code here: https://docs.craftcms.com/v3/dev/...
Adrian's user avatar
  • 427
2 votes
0 answers
35 views

How to protect elements that are being edited during project-config/sync?

Some situations: An editor is editing an entry in the CP while an admin runs project-config/sync. A user starts a front end form to create a new entry before project-config/sync is run, but submits ...
Katie Fritz's user avatar
2 votes
0 answers
62 views

Retain value from select and checkbox on frontend form after failure

I have a registration form on my frontend and when people click register but the form fails (due to the username already existing for example) I would like to keep all info they entered in the form so ...
Tom De Smet's user avatar
  • 1,456
1 vote
0 answers
63 views

Displaying errors on frontend profile form

I have a user profile form on the frontend that doesn't display errors for a URL field. The field handle is 'website'. This is my code: {% macro errorList(errors) %} {% if errors %} {{ ul(errors, {...
LessMore Creative Studio's user avatar
1 vote
0 answers
196 views

Redirect to frontend login form after receiving email verification mail from CMS?

I'm working on a site with public registration and a manual approval flow for new users. The following settings for user accounts are active: Verify email addresses, Allow public registration, Suspend ...
MoritzLost's user avatar
  • 10.7k
1 vote
0 answers
305 views

What's left to troubleshoot this quirky "Unable to verify your data submission" behavior?

I have a frontend login form that sends a request to Craft's own actions/users/login action. I've used this same process in another project and it works there, but not here, and I can't figure out ...
Steven Thate's user avatar
1 vote
0 answers
319 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 ...
Markus's user avatar
  • 11
1 vote
0 answers
182 views

Non-admins can't create new entries with front-end form (ajax)

I'm hitting an issue where signed-in non-admin users can't create a new entry with a front-end entry form (but can edit existing ones). Everything works except for this single instance: ✓ Admin ...
Travis Gertz's user avatar
1 vote
0 answers
140 views

Craft 3: Possible to merge checkbox and text values from a frontend form and put into a plaintext Craft field?

Is it possible to submit checkbox array and text values on a front end form into a plaintext Craft field in Craft 3? My solution worked in Craft 2 but it broke in Craft 3 due to some under the hood ...
Lori's user avatar
  • 866
1 vote
0 answers
76 views

Display Stripe card error in Craft 3 front-end entry form template

I have a custom plugin set up to speak to Stripe's API and process a card charge. The code triggers in a craft\elements\Entry::EVENT_AFTER_SAVE event because I want to pass along certain data about ...
Ryan's user avatar
  • 1,942
1 vote
0 answers
401 views

How can I edit multiple entries via multiple front-end forms using Vue.js?

I found this post. However, writing a plugin in currently not an option, and I'd like to do this with Vue.js since I'm already using it for form validation & other stuff. Also, this involves ...
Andrea DeMers's user avatar
1 vote
0 answers
105 views

Rewrite locale urls on nginx, but not for registration links

I'm using this Gist to rewrite the urls on a localized website running on nginx. It's working fine, except for the account activation links. They are localized as well, but they shouldn't. I'm sure ...
Andreas's user avatar
  • 491
1 vote
0 answers
191 views

Front end entry dropdown with null option

I have successfully implemented a front-end form that allows the user to add new "blocks" to a certain matrix field. This matrix field has one text field, two date fields, and one entry field that ...
Steven Thate's user avatar
1 vote
0 answers
71 views

Plugins for Tags

Is there any plugin for Tag that will be like: Text field in a front-end entry form where user can add multiple tags. After pressing the save button, the plugin should: check for every tag, whether ...
Mohit Prajapati's user avatar
0 votes
0 answers
57 views

Saving tags via front end entry form - craft cms 4 and selectize.js

I have a front end entry form that allows users to update their entry. I have created a tag field using selectize.js that displays the existing tags for that entry, allows the user to enter their own ...
George Bleasdale's user avatar
0 votes
0 answers
92 views

Frontend Form for editing entries HTTP Exception

I took the example form of the craft CMS Entry Form Documentation page and tried to use it on a test site. However i always get a HttpException after submitting the Frontend Form. Here's the Stack ...
creme's user avatar
  • 101
0 votes
0 answers
73 views

Add Matrix Blocks to existing Entry with Form without discarding existing Matrix Blocks

When I want to save an new Matrix block with an form to an existing Entry: <form method="post" accept-charset="UTF-8"> {{ csrfInput() }} <input type="hidden" name="action" value="entries/...
Rainer's user avatar
  • 11
0 votes
0 answers
200 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