Questions tagged [frontend-form]

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

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

How can I insert images into a Redactor rich text field in a front-end form?

I want to allow registered users to insert (i.e. upload) images into a Redactor rich text field in a front-end form. I dowloaded the Image Manager plugin from Imperavi (https://imperavi.com/redactor/...
2
votes
1answer
106 views

How can I use the Courier plugin to notify a user when an entry is enabled?

Moderation scenario: Registered user publishes an entry using a front-end form that sets the entry to disabled. Moderator receives email re new entry and changes status from disabled to enabled in ...
2
votes
2answers
906 views

Form for admins to register users from the front end

Is there a way to create a front-end form that would allow a user with appropriate privileges (Register users) to register new users?
1
vote
1answer
478 views

Get a field's required attribute in frontend form

I am trying to get the required attribute of a field in a frontend form. I know this attribute only makes sense in the context of an entry type. Doing this craft.fields.getFieldByHandle('handle') ...
2
votes
1answer
248 views

User Profile Form Not Saving Data

I'm having some trouble saving custom user fields via a front-end form as described here. All the other forms on the site that use the same method save the data correctly. I'm able to pull in the user ...
1
vote
1answer
89 views

How to save multiple related entries on the frontend with 1 checkbox?

I have a frontend form and would like to save multiple related entries by checking 1 checkbox. I have this working to save 1 related entry: <input type="checkbox" id="user-type-select-{{ userType|...
1
vote
0answers
118 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 ...
2
votes
2answers
307 views

Frontend Form - Checkboxes cannot “all” be unchecked

I have a frontend entry form with some checkboxes that is not behaving correctly. If you uncheck all options and save, nothing changes (this is bad). However if you uncheck one item and check another ...
2
votes
0answers
55 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 ...
0
votes
1answer
148 views

Sanitize front-end entry form field

If I'm enabling a user to post to Craft using the front-end entry form, is there a way that I can sanitize the title of a post? I'm looking to apply AP formatting to titles. I know Stephen has a ...
2
votes
1answer
459 views

Front End Editing with Entry From

I need to allow store managers to edit their store. I'm most of the way there and have the title field and a couple of other plain text fields set up. However there isn't any documentation available ...
0
votes
0answers
160 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? ...
2
votes
1answer
506 views

How can I validate a Redactor rich text field in a front-end form using the VeeValidate Vue.js plugin?

Scenario I'm using the VeeValidate Vue.js plugin to validate a Craft front-end form that contains a Redactor rich text field. Problem Validation of the rich text field fails because Redactor adds ...
1
vote
1answer
100 views

Can Craft handle social-esque frontend user interactions?

I've got a potential client I'd like to build a Craft site for, but they have some specific features I'm not quite sure how to handle. Could someone tell me if Craft can handle the following features? ...
1
vote
0answers
59 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 ...
2
votes
1answer
435 views

AJAX Front-end User Registration Form not displaying macro errorList

I have a user registration form on my Front-end which is submitted with Ajax which works fine. The only problem is that if I have any errors, like an already in use username they wont be displayed. ...

1
2