Required Fields on Forms
Permalink
How can we make required fields on the forms we create in Concrete?
This will be included with the 5.3 release of concrete5.
yes soon, no it wont be called 5.3 - it should be out in a sub-release sooner.
Thanks! Looking forward to it!
I have two more quick questions on the concrete forms... All information is submitted correctly to email with the exception of checkbox fields. Checkboxed items are not being displayed in the email - has anyone else encountered this?
Secondly, when viewing a form's submissions in the admin, I have never been able to get the "show all" and "sort chronologically" functions to work properly - they both take me to "page not found"...
Any solutions to either of these items would be greatly appreciated!
Thanks!!
-AJ
Secondly, when viewing a form's submissions in the admin, I have never been able to get the "show all" and "sort chronologically" functions to work properly - they both take me to "page not found"...
Any solutions to either of these items would be greatly appreciated!
Thanks!!
-AJ
In regards to the sorting, this has also been fixed in the next release, but if you want to get it working in the meantime, do this:
Open up the file /concrete/single_pages/dashboard/reports/form
And replace all the links to "/dashboard/form_results/" with "/dashboard/reports/forms/"
(the page location was moved and the links weren't updated)
I'll look into the checkbox in emails thing.
Open up the file /concrete/single_pages/dashboard/reports/form
And replace all the links to "/dashboard/form_results/" with "/dashboard/reports/forms/"
(the page location was moved and the links weren't updated)
I'll look into the checkbox in emails thing.
Awesome! That worked! I'll wait to hear back on the checkbox item...
Thanks!
-AJ
Thanks!
-AJ
In concrete/blocks/form/controller.php, within the action_submit_form() method, replace the first chunk of code with the second:
(fix those forced line breaks on ['answer'] && ['question'] obviously too)
(fix those forced line breaks on ['answer'] && ['question'] obviously too)
Awesome! That worked!
Thanks!
-AJ
Thanks!
-AJ