Array names not working

halumme 21 Mar, 2017
I have tried to create a form which should update a Google Sheet . I have installed the beta version of Google Spreadsheet Save. However I get immediate problems with the form.

When I create a form using array names (like GSheet[name] ), the form fails after hitting the submit button and yields the HTTP Error 500. If I change the name to normal (name), the form submit does not produce error, but the output array is empty.

Next I tried to add custom code to the OnSubmit section:

<?php   $form->data['GSheet']['name'] = $form->data['name']; 
?>

Again I get the Http error 500. If I comment out the statement, the error disappears. In fact any php statement I try produces the Error 500.
So I don't seem to have any means to populating the data array.

What am I missing??
regards Harri
GreyHead 22 Mar, 2017
Hi Harri,

I have no idea - possibly a server security setting? Have you checked with your web-hosts?

Please take a Form Backup using the icon in the Forms Manager and post it here and I'll take a closer look.

Bob
This topic is locked and no more replies can be posted.