Questions tagged [plugin-sproutforms]

Commercial Forms Plugin from Barrel Strength Design.

Filter by
Sorted by
Tagged with
2
votes
2answers
16 views

How to reference a specific Sprout Form by handle?

I need to reference specific entries from my Sprout Form so that I can grab the data the user uploaded through that form to use to make changes in the database. I am stuck here with this error ...
0
votes
0answers
29 views

How to print variables inside a PHP Event?

I'm trying to work with the Sprout Forms events to grab a variable from the form and add it to a filename also uploaded through the same form. I am extremely stuck and so far I can't even confirm ...
1
vote
1answer
29 views

Upgrade to 3.5.8 causing Allowed memory size bytes exhausted error

I'm stepping through Craft release versions while updating a Craft v3 site that is many versions behind. 3.5.7 works fine, but after using $ composer require craftcms/cms:3.5.8 to update to 3.5.8, ...
1
vote
0answers
30 views

Sprout Forms Recaptcha js error - everything flagged as spam

I'm using the Google reCAPTCHA plugin with Sprout forms. I'm trying to use an invisible reCAPTCHA badge, but I'm getting a js error on page load: Unhandled Promise Rejection: TypeError: null is not an ...
1
vote
1answer
28 views

Sprout Forms notification test giving me an internal server error

We have set up this particular Craft CMS site with smtp details and when testing from the Settings > Email page it works fine. We've installed Sprout Forms and created some forms - all seems pretty ...
0
votes
0answers
42 views

How to override filename saved in Sprout Forms?

After a form is saved I need to concatenate together the {{proposalCompanyName}} handle with the {{proposalFileUpload}} handle so that the saved filename in the Assets folder is proposalCompanyName....
0
votes
0answers
22 views

Sprout Forms field rule combination

I'm trying to conditionally display a Sprout Forms field based on multiple drop downs. The first sets the category and displays one of the other three drop downs with it's sub-categories. The field ...
2
votes
1answer
60 views

Help understanding hooks

I need to build a plugin or module that hooks into the Sprout form upload file function so I can add text programmatically to the user uploaded filename. I've had input before that I should work with ...
2
votes
1answer
46 views

How to display submission data on a thank you page with sprout forms?

How can the thank you page display submitted values? I'd like to give the users the submission id to reference. I've tried adding a hidden redirect field with a shortcode GET parameter but haven't got ...
1
vote
1answer
30 views

How to prepend user input data to a filename uploaded through Sprout Forms

I have a contact form where users have to fill in a name field and upload a file. I want to add the name the user filled in to the beginning of the filename, eg: firstname-lastname_filename.pdf. I ...
1
vote
1answer
17 views

Building my first Sprout Form and need ability to add Tags input

I'm building my first Sprout Form and I need a tags relational field, but where the user filling in the form can add their own tags, but if similar/matching tags exist then they can select them, like ...
1
vote
1answer
60 views

How to export Sprout Form submissions with a JSON API endpoint?

The goal is to have an endpoint that takes starting id and limit parameters and returns a filtered list of Sprout Form submissions as JSON without the JSON Feed v1 metadata bits. I've tried to set up ...
1
vote
1answer
187 views

Sprout Forms migration error

Running a migration from the command line ./craft migrate/all I get the following error message: Exception 'craft\errors\MigrateException' with message 'An error occurred while migrating Sprout ...
1
vote
1answer
74 views

Sprout Forms - Notification Based on Checkbox Value

I'm using Sprout Forms 3.8.0.2 and Craft CMS 3.4.5. My client wants the email notification to go to different email addresses based on whether or not a form checkbox is checked. My plan is to create a ...
1
vote
2answers
103 views

Lingering artifacts of deleted Sprout Forms plugin causing queue failure for updating search indexes

I noticed I had a task failure notification that I couldn't clear in my Craft 3 cp for updating search indexes. Found this in queue.log: 2020-01-15 20:02:44 [-][41673][-][error][craft\queue\...
1
vote
1answer
68 views

Sprout Forms: empty phone field still shows error “Phone is invalid. Example format: (506) 234-5678”

Running Craft CMS 3.3.20 and Sprout Forms Pro 3.6.8 form has Phone field submit form with no value in Phone field form reloads with error message "Phone is invalid. Example format: (506) 234-5678" ...
1
vote
1answer
83 views

Sprout Forms - Use Case - Retrieve/Store form data into a custom db table

We have a placement tool that is currently based on a proprietary PHP MVC framework. We have a need to quickly build custom forms that contain various checkbox, radio and text fields. We want to ...
1
vote
1answer
76 views

Receiving duplicate Sprout Form submissions

We're seeing duplicate submissions. It's between 2 - 15 of the same submissions, usually 7. They come in irregularly over the next couple minutes after the first one. And only sometimes. They are all ...
0
votes
0answers
14 views

Sprout forms entries saving on staging but not live environment

We have a sprout form at staging.efficiencyforaccess.org/concept-note that successfully submits and saves data to Craft, but when pushed to the live environment (efficiencyforaccess.org/concept-note) ...
1
vote
1answer
37 views

Can only submit my Sprout Form form if I'm logged into my site

I have a basic Contact form built in a site I manage for a client. But for some reason, the form fails to submit if I'm (or the user using the site) isn't logged into the site (CMS). But this site is ...
1
vote
1answer
25 views

How can I add fields in the Sprout design your form?

I am using Craft CMS 2.7.3 and sprout forms 2.6.0 version. I have created a dropdown field in the craft cms -> fields. How can I fetch this field or render this field in the Sprout form design? Even ...
2
votes
1answer
109 views

Changing Content-Type on Sprout Forms custom endpoint

I'm using Sprout Forms 3.3.7 and have created a custom endpoint integration to post the form data to Pardot. The integration fires successfully, but Pardot was rejecting the request. I used Guzzle ...
2
votes
2answers
395 views

Composer issue updating sprout plugins

I cant update my sprout plugins due to a dependency / version issue with sprout base. Ive tried updating via composer - but I think I need to edit my composer file to work around the sprout base ...
1
vote
0answers
55 views

Sprout plugin: Send information in AJAX success response

I'm using Sprout for registering to events, I want to be able to send a code in the AJAX response when EVENT_AFTER_SAVE occurs. At the moment, I get {success: true} back, but I want to be able to get {...
2
votes
1answer
49 views

Sprout Forms beta to paid?

I'm trying to update all my project plugins. Over a year ago I originally installed Sprout Forms beta as a trial and have since purchased the license. When I run craft update I get Your requirements ...
1
vote
1answer
59 views

How to find logged IP address from SproutForms sent email

I see in the documentation for Sprout Forms that IP address is recorded for sent emails. Is this the IP address of the person submitting the form or the IP address of the server sending the mail? Is ...
2
votes
1answer
180 views

Sprout Forms - include hidden fields in notification emails

I need to include the contents of a hidden field in my form's notification emails. I know the field value is being captured, as I can see it in the CP, but it's not included in the emails. I thought ...
1
vote
1answer
145 views

Sprout Forms Email

I have an entry where I select which form displays on the page. Is there a way for me on the entry using a text input for an email address to use that email address for the sending of emails via the ...
2
votes
1answer
104 views

Sprout reports timing out on thousands of records

I have sprout reports (twig template) exporting tens of thousands of records. Problem is that its timing out. I appreciate that this is expected and my only likely option is to up the server spec. Is ...
1
vote
1answer
142 views

Migrate sprout forms

Is there any way to migrate the configuration of a Sprout Form between my local environment and the production environment? I'm on Craft 3. Ideally, I'd love to generate a migration using the ...
1
vote
1answer
78 views

Sprout Forms and Multi-site on Craft 3

Is it at all possible to get forms to display per site and not all forms displaying to a site admin user? Also an admin user doesn't seem to be able to run reports on there own site, without being an ...
1
vote
2answers
92 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 ...
5
votes
2answers
679 views

Looking for an advanced form plugin for Craft CMS

I'm currently using amforms from a&m impact on a couple of sites. However, it looks like this plugin won't get a craftcms version 3 update. In addition, my requirements for a form plugin have ...
1
vote
1answer
214 views

Plugin not displayed on Plugins Section

I'm trying to install Sprout Report plugin, so I downloaded from here so I followed the instructions from the plugin documentation site: here According to that documentation the zip folder from GitHub ...
2
votes
1answer
87 views

Post to Sprout Forms plugin from an app or another website

Is it possible to post a form to Sprout Forms in Craft 2 from a desktop app or another website? The AJAX example in the docs mentions this - sproutForms/entries/saveEntry What would the full URL be? ...
1
vote
2answers
221 views

Sprout forms AJAX submission giving Template not found

I am able to capture submissions from a regular HTML form, however if I replicate the POST with JSON I get the following "Template not found" error. Template not found: sprout-forms/entries/save-...
3
votes
1answer
237 views

Why is Sprout Forms returning 302 for ajax requests?

I am using Sprout Forms on a Craft 3 site and trying to submit my form via ajax. I've been able to do this many times in Craft 2, but not having much luck with 3 (yet). The docs look mainly for Craft ...
1
vote
1answer
58 views

Can I add custom JS to Sprout Form?

I'd like to be able to attach custom JS to a Sprout Form which can be managed in the form builder. I need to add logic that will switch the email address of the recipient based on a choice from a ...
2
votes
1answer
149 views

Sprout Forms - Can't save front end entry edits

This this might be a bug but want to ask here first in case I'm missing something minor. Description Trying to front edit a Sprout Form entry that was created in the front end. I'm using the same ...
2
votes
1answer
55 views

Sprout Forms Payload Forwarding empty value

I have a couple of forms that require payload forwarding. The only problem I'm having is that all the content that should be sent through is empty. I can see the form being submitted to the payload ...
1
vote
2answers
130 views

Sprout Forms - Custom Form Notification Recipients With sproutForms.onBeforeSaveEntry

I've got an existing service based site that uses Sprout Forms to request quotes. The quote form lives on all services pages in a sidebar (and the submissions have an entries field keeping track of ...
3
votes
1answer
376 views

Sprout Form redirect after submit not working correctly

All my forms on sprout form won't use the redirect they get assigned via the Form builder. Whenever a form is succesfully submited it redirects to my homepage instead of my thank-you page. <form ...
2
votes
1answer
325 views

Display/edit Sprout Form entry in front end

Following Sprout Forms -- How to link to individual entries on the front-end I found code {% set formEntryId = craft.request.getSegment(2) %} {% set entry = craft.sproutForms.getEntryById(...
2
votes
2answers
165 views

Using Dynamic values in the Reply To field in Sprout Forms Notifications

I'm looking to have a Dynamic 'Reply To' for a notification when an entry is saved from a form submissions. I'm using the below which is what the field is named in my form, but it seems it's not ...
1
vote
1answer
29 views

Custom data source without options - Sprout Forms

Is it possible to create a custom data source that does not include end user options? I have tried not including the getOptionsHtml(), returning null, returning an empty string, and just return and ...
2
votes
1answer
321 views

Intercepting Sprout Forms “onSaveEntry” Event In Craft 3 Plugin

I've built lots of Craft 2 plugins that catch Sprout Forms submissions and integrate with external services (CRM's etc). It was easy, you'd make a plugin and catch the event going: craft()->on('...
1
vote
2answers
110 views

Filter Sprout Form entries throwing error

Based on this very helpful question I'm trying to filter the display of Sprout Form entries based on the value of a form field. For example, my form handle is 'reportHazardDeficiency' and my field ...
1
vote
1answer
45 views

Sprout Forms: Populate checkbox field options with entry data

I have a form with a checkbox field. I want the options of the checkbox to be pulled from an entry field. My custom field template is below but it wont pass validation. I guess this is because Sprout ...
2
votes
1answer
140 views

Craft 2 - Adding custom CSS classes to Sprout Form fields on a global basis

I'm reading the docs for the Sprout Form plugin and looking at how I can custom classes to the actual form elements i.e. <input>, <select> etc. I can see that there is the rendering ...
1
vote
1answer
38 views

addFieldVariables not functioning with string data

I have the following code: {% set query = {} %} {% if not craft.request.getParam('q')|length %} {#.. key, value pairing .. #} {% set query = query | merge({(key):(value)}...