-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fields of columns are not properly saved by using data.*.twig template #189
Comments
Are you sure you are running the latest version of the
|
I'm using the latest version of Grav (v1.3.3) and Form plugin (v2.9.1). Also removed I debugged the array:3 [
"type" => "columns"
"fields" => array:2 [
"column0" => array:3 [
"type" => "column"
"fields" => array:1 [
"firstname" => array:6 [
"label" => "FIRSTNAME"
"placeholder" => "FIRSTNAME_PLACEHOLDER"
"autocomplete" => "on"
"type" => "text"
"validate" => array:3 [
"required" => true
"pattern" => "[A-Za-z]{3,}"
"message" => "FIRSTNAME_VALIDATION_HINT"
]
"name" => "firstname"
]
]
"name" => "column0"
]
"column1" => array:3 [
"type" => "column"
"fields" => array:1 [
"lastname" => array:6 [
"label" => "SURNAME"
"placeholder" => "SURNAME_PLACEHOLDER"
"autocomplete" => "on"
"type" => "text"
"validate" => array:1 [
"required" => true
]
"name" => "lastname"
]
]
"name" => "column1"
]
]
"name" => "columns"
] |
Ok, I think i've found the problem. There's a list of fields that should have I have form + admin installed, so my admin plugin was setting these to |
Yeah, on my installation I have currently no admin installed. I added your changes manually to my form plugin and now it work's fine. Thanks! 👍 |
I'm using columns in my contact form and tried to save them as text. The field values of these columns are not saved in the text file.
form.md
Result: contact-20170913-183243-983373.txt
The text was updated successfully, but these errors were encountered: