pageballoon / oc-formstore-plugin Goto Github PK
View Code? Open in Web Editor NEWFlexible frontend form manager for OctoberCMS
Home Page: http://octobercms.com/plugin/nocio-formstore
License: MIT License
Flexible frontend form manager for OctoberCMS
Home Page: http://octobercms.com/plugin/nocio-formstore
License: MIT License
This is a regression introduced by the time zone support of the DateTime picker widget https://github.com/octobercms/october/blob/7590dfd30fb08242c6c8e111115659d38ac4aeb8/modules/backend/formwidgets/DatePicker.php#L122.
The problem is that the call to retrieve the time zone \Backend\Models\Preference::get('timezone')
is unauthorized unless the FormStore user is authenticated in the backend.
A workaround is to set ignoreTimezone: true
in the datepicker field definition of the form yaml.
Hi, very interesting plugin, but even logged in, I can't access the form. It always ask me my mail...
I'm having some difficulty getting the form to display on the page. I have a basic model with 3 fields for testing purposes. I've added the manager component to the page, can successfully "login" to the page but when I click start
I get this error:
I added protected $fillable = ['*']
to my model and am still getting the error.
UPDATE
So I had fields on my model that were set to NOT NULL which causes problems when the AjaxController tries to create a new model instance. Anyhow, I took off those requirements in the DB and am now getting this error:
UPDATE
Ok, so I had a relation defined in the Stored Forms area that did not actually exist on my model. I deleted the relation and it looks like the form is working now. Sorry for the mixup.
It would be helpful if the backend lists supported filtering of their respective columns.
"SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: nocio_formstore_submissions.treated (SQL: insert into "nocio_formstore_submissions" ("form_id", "submitter_id", "data_id", "data_type", "updated_at", "created_at") values (4, 1, 5, Lmh\Forms\Models\Test, 2018-02-22 15:31:40, 2018-02-22 15:31:40))" on line 664 of C:\xampp\htdocs\ocplugins\vendor\laravel\framework\src\Illuminate\Database\Connection.php
I keep getting this error. Not sure what I am missing?
My form uses a formwidget from the RainLab Location plugin and is throwing an error when I try to start a form submission:
Do you have any thoughts?
UPDATE: So I dug a little deeper into the code and found the loadBackendFormWidgets()
method in AjaxController. I tried adding the code to load the addressfinder widget:
...
'RainLab\Location\FormWidgets\AddressFinder' => [
'label' => 'AddressFinder',
'code' => 'addressfinder'
]
...
and now am getting this error:
Still not sure how to get around this. Any help is appreciated. Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.