Comments (5)
Looks like an issue with the default stencil being created on a new install of Formie. I believe Craft 4 upgrades will be unaffected.
Fixed for the next release. To get this early, run composer require verbb/formie:"dev-craft-5 as 3.0.0-beta.9"
.
You can either re-install the plugin which will re-create the stencil, or manually alter the data
column in the formie_stencils
database table to be the following:
{"dataRetention":"forever","dataRetentionValue":"","fileUploadsAction":"retain","notifications":[{"attachAssets":null,"attachFiles":true,"attachPdf":null,"bcc":null,"cc":null,"conditions":null,"content":"[{\"type\":\"paragraph\",\"content\":[{\"type\":\"text\",\"text\":\"A user submission has been made on the \\\"\"},{\"type\":\"variableTag\",\"attrs\":{\"label\":\"Form Name\",\"value\":\"{formName}\"}},{\"type\":\"text\",\"text\":\"\\\" form on \"},{\"type\":\"variableTag\",\"attrs\":{\"label\":\"Site Name\",\"value\":\"{siteName}\"}},{\"type\":\"text\",\"text\":\" at \"},{\"type\":\"variableTag\",\"attrs\":{\"label\":\"Timestamp (yyyy-mm-dd hh:mm:ss)\",\"value\":\"{timestamp}\"}}]},{\"type\":\"paragraph\",\"content\":[{\"type\":\"text\",\"text\":\"Their submission details are:\"}]},{\"type\":\"paragraph\",\"content\":[{\"type\":\"variableTag\",\"attrs\":{\"label\":\"All Form Fields\",\"value\":\"{allFields}\"}}]}]","enableConditions":null,"enabled":true,"from":null,"fromName":null,"handle":"adminNotification","name":"Admin Notification","pdfTemplateId":null,"recipients":"email","replyTo":"{field:emailAddress}","replyToName":null,"sender":null,"subject":"A new submission was made on \"{formName}\"","templateId":null,"to":"{systemEmail}","toConditions":null},{"attachAssets":null,"attachFiles":true,"attachPdf":null,"bcc":null,"cc":null,"conditions":null,"content":"[{\"type\":\"paragraph\",\"content\":[{\"type\":\"text\",\"text\":\"Thanks again for contacting us. Our team will get back to you as soon as we can.\"}]},{\"type\":\"paragraph\",\"content\":[{\"type\":\"text\",\"text\":\"As a reminder, you submitted the following details at \"},{\"type\":\"variableTag\",\"attrs\":{\"label\":\"Timestamp (yyyy-mm-dd hh:mm:ss)\",\"value\":\"{timestamp}\"}}]},{\"type\":\"paragraph\",\"content\":[{\"type\":\"variableTag\",\"attrs\":{\"label\":\"All Form Fields\",\"value\":\"{allFields}\"}}]}]","enableConditions":null,"enabled":true,"from":null,"fromName":null,"handle":"userNotification","name":"User Notification","pdfTemplateId":null,"recipients":"email","replyTo":null,"replyToName":null,"sender":null,"subject":"Thanks for contacting us!","templateId":null,"to":"{field:emailAddress}","toConditions":null}],"pages":[{"label":"Page 1","rows":[{"fields":[{"settings":{"conditions":null,"containerAttributes":null,"contentTable":null,"cssClasses":null,"defaultValue":null,"emailValue":null,"enableConditions":false,"enableContentEncryption":false,"enabled":true,"errorMessage":null,"handle":"yourName","includeInEmail":true,"inputAttributes":null,"instructions":"Please enter your full name.","instructionsPosition":"verbb\\formie\\positions\\AboveInput","label":"Your Name","labelPosition":"verbb\\formie\\positions\\Hidden","matchField":null,"nestedLayoutId":null,"placeholder":"Your name","prePopulate":null,"required":false,"rows":[{"fields":[{"settings":{"conditions":null,"containerAttributes":null,"cssClasses":null,"defaultValue":null,"emailValue":null,"enableConditions":false,"enableContentEncryption":false,"enabled":false,"errorMessage":null,"handle":"prefix","includeInEmail":true,"inputAttributes":[{"label":"autocomplete","value":"honorific-prefix"}],"instructions":null,"instructionsPosition":null,"label":"Prefix","labelPosition":null,"layout":null,"limitOptions":false,"matchField":null,"max":null,"min":null,"multi":false,"optgroups":true,"options":[{"isDefault":true,"label":"Select an option","value":""}],"placeholder":null,"prePopulate":null,"required":false,"visibility":null},"type":"verbb\\formie\\fields\\subfields\\NamePrefix"},{"settings":{"conditions":null,"containerAttributes":null,"cssClasses":null,"defaultValue":null,"emailValue":null,"enableConditions":false,"enableContentEncryption":false,"enabled":true,"errorMessage":null,"handle":"firstName","includeInEmail":true,"inputAttributes":[{"label":"autocomplete","value":"given-name"}],"instructions":null,"instructionsPosition":null,"label":"First Name","labelPosition":null,"limit":false,"matchField":null,"max":null,"maxType":"characters","min":null,"minType":"characters","placeholder":"e.g. Peter","prePopulate":null,"required":true,"uniqueValue":false,"visibility":null},"type":"verbb\\formie\\fields\\subfields\\NameFirst"},{"settings":{"conditions":null,"containerAttributes":null,"cssClasses":null,"defaultValue":null,"emailValue":null,"enableConditions":false,"enableContentEncryption":false,"enabled":false,"errorMessage":null,"handle":"middleName","includeInEmail":true,"inputAttributes":[{"label":"autocomplete","value":"additional-name"}],"instructions":null,"instructionsPosition":null,"label":"Middle Name","labelPosition":null,"limit":false,"matchField":null,"max":null,"maxType":"characters","min":null,"minType":"characters","placeholder":null,"prePopulate":null,"required":false,"uniqueValue":false,"visibility":null},"type":"verbb\\formie\\fields\\subfields\\NameMiddle"},{"settings":{"conditions":null,"containerAttributes":null,"cssClasses":null,"defaultValue":null,"emailValue":null,"enableConditions":false,"enableContentEncryption":false,"enabled":true,"errorMessage":null,"handle":"lastName","includeInEmail":true,"inputAttributes":[{"label":"autocomplete","value":"family-name"}],"instructions":null,"instructionsPosition":null,"label":"Last Name","labelPosition":null,"limit":false,"matchField":null,"max":null,"maxType":"characters","min":null,"minType":"characters","placeholder":"e.g. Sherman","prePopulate":null,"required":true,"uniqueValue":false,"visibility":null},"type":"verbb\\formie\\fields\\subfields\\NameLast"}]}],"subFieldLabelPosition":null,"useMultipleFields":true,"visibility":null},"type":"verbb\\formie\\fields\\Name"}]},{"fields":[{"settings":{"conditions":null,"containerAttributes":null,"cssClasses":null,"defaultValue":null,"emailValue":null,"enableConditions":false,"enableContentEncryption":false,"enabled":true,"errorMessage":null,"handle":"emailAddress","includeInEmail":true,"inputAttributes":null,"instructions":"Please enter your email so we can get in touch.","instructionsPosition":null,"label":"Email Address","labelPosition":null,"matchField":null,"placeholder":"e.g. [email protected]","prePopulate":null,"required":true,"uniqueValue":false,"validateDomain":false,"visibility":null},"type":"verbb\\formie\\fields\\Email"}]},{"fields":[{"settings":{"conditions":null,"containerAttributes":null,"cssClasses":null,"defaultValue":null,"emailValue":null,"enableConditions":false,"enableContentEncryption":false,"enabled":true,"errorMessage":null,"handle":"message","includeInEmail":true,"inputAttributes":null,"instructions":"Please enter your comments.","instructionsPosition":null,"label":"Message","labelPosition":null,"limit":false,"matchField":null,"max":null,"maxType":"characters","min":null,"minType":"characters","placeholder":"e.g. The reason for my enquiry is...","prePopulate":null,"required":true,"richTextButtons":["bold","italic"],"uniqueValue":false,"useRichText":false,"visibility":null},"type":"verbb\\formie\\fields\\MultiLineText"}]}],"settings":{"backButtonLabel":"Back","buttonsPosition":"left","containerAttributes":null,"cssClasses":null,"enableJsEvents":false,"enableNextButtonConditions":false,"enablePageConditions":false,"inputAttributes":null,"saveButtonLabel":"Save","saveButtonStyle":"link","showBackButton":false,"showSaveButton":false,"submitButtonLabel":"Contact us"}}],"settings":{"collectIp":false,"collectUser":false,"dataRetention":null,"dataRetentionValue":null,"defaultEmailTemplateId":null,"defaultInstructionsPosition":"verbb\\formie\\positions\\AboveInput","defaultLabelPosition":"verbb\\formie\\positions\\AboveInput","disableCaptchas":false,"displayCurrentPageTitle":false,"displayFormTitle":false,"displayPageProgress":false,"displayPageTabs":false,"errorMessage":"[{\"type\":\"paragraph\",\"attrs\":{\"textAlign\":\"start\"},\"content\":[{\"type\":\"text\",\"text\":\"Couldn’t save submission due to errors.\"}]}]","errorMessagePosition":"top-form","fileUploadsAction":null,"limitSubmissions":false,"limitSubmissionsMessage":"[{\"type\":\"paragraph\",\"attrs\":{\"textAlign\":\"start\"}}]","limitSubmissionsNumber":null,"limitSubmissionsType":"total","loadingIndicator":"spinner","loadingIndicatorText":null,"pageRedirectUrl":null,"progressPosition":"end","redirectUrl":null,"requireUser":false,"requireUserMessage":"[{\"type\":\"paragraph\",\"attrs\":{\"textAlign\":\"start\"}}]","requiredIndicator":"asterisk","scheduleForm":false,"scheduleFormEnd":null,"scheduleFormExpiredMessage":"[{\"type\":\"paragraph\",\"attrs\":{\"textAlign\":\"start\"}}]","scheduleFormPendingMessage":"[{\"type\":\"paragraph\",\"attrs\":{\"textAlign\":\"start\"}}]","scheduleFormStart":null,"scrollToTop":true,"submissionTitleFormat":"{timestamp}","submitAction":"message","submitActionFormHide":false,"submitActionMessage":"[{\"type\":\"paragraph\",\"attrs\":{\"textAlign\":\"start\"},\"content\":[{\"type\":\"text\",\"text\":\"Thank you for contacting us! Our team will get in touch shortly to follow up on your message.\"}]}]","submitActionMessagePosition":"top-form","submitActionMessageTimeout":null,"submitActionTab":null,"submitActionUrl":null,"submitMethod":"ajax","validationOnFocus":true,"validationOnSubmit":true},"userDeletedAction":"retain"}
from formie.
Thank you. I'll update with the next release
from formie.
Also, not sure if it's connected, however when I try to save Settings, I get an error Alert popup — "Couldn’t save settings."
I'm using the default config/formie.php
from formie.
Is that after you've grabbed the latest changes and uninstalled/reinstalled? And is that when saving the form, or the stencil?
Have a look in your /storage/logs/formie.log
for more detail on the error.
from formie.
Updated in 3.0.0-beta.10
from formie.
Related Issues (20)
- [2.x]: Issue with summary and field name HOT 5
- [2.x]: Translation problem with subfield prefix and mail var `All Form Fields` HOT 2
- [3.x]: Issue with option `required field` for field date HOT 2
- Formie Import does not delete notifications HOT 1
- `not_authed` error with Slack integration HOT 4
- Name field does not render in preview email notification, nor does it get send in the email notification HOT 2
- Element Integration - Entry field issue HOT 6
- Address -> Country field isn't saving HOT 2
- [2.x] Translate issue frontend validation. HOT 3
- Payment Field: Stripe: Hide Postal Code setting not respected HOT 1
- Customer name and Email IDs not displaing in the Stripe dashboard HOT 1
- Add GoCardless Payment integration
- Recaptcha & Payments HOT 4
- Shortest Data Retention possible HOT 3
- Encrypted phone number exceeds 255 character limit HOT 2
- Form submission error when radio button's value is over a certain length HOT 2
- Bug: number doesn't respect max value HOT 2
- Entries field - enable sorting entries by structure order HOT 4
- More Top Level controls HOT 1
- User Registration Integration password isn't set correctly HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from formie.