I'm wondering how to write my email which is to be dynamically changed according to answers in the form. However i also want to save the information in a Google spreadsheet, hence i had to add the Gsheet before the field names. When i did that the data is no longer reached by the email php code. I managed to find in the forum where the dynamic email field should be written as Gsheet.email but cannot find how i should do in this case!
is the field names
Gsheet[firstname1]
Gsheet[numberpeople]
is the field names
<?php
echo $form->data['Gsheet[firstname1]'];
?>
<br>
<?php
$Price = 1000;
$Cost = $Price * ($form->data['Gsheet[numberpeople]'] + 1);
echo $Cost;
?>