I have a couple of questions:
1) The email that I received as admin is as follow, it doesnt render the correct selection in dropdown or radio button and it has this code as below:
2) The file that I uploaded is not attached in the email. In my upload paht at the backend i have left it as empty so it uses the default one
3) is there any way to show the submissions of users at the backend?
Thank you in advance.
1) The email that I received as admin is as follow, it doesnt render the correct selection in dropdown or radio button and it has this code as below:
Name test
Block 12
array ( 'text' => '', 'position' => 'left', ) 0
Unit No 0
- 2333
Street 1
E-mail xxxx@xxxl.com
Contact 123123213
Subject 0
Upload File
Message rawr
2) The file that I uploaded is not attached in the email. In my upload paht at the backend i have left it as empty so it uses the default one
3) is there any way to show the submissions of users at the backend?
Thank you in advance.
Hi rzrz,
1) Please drag a Handle Arrays action into the On Submit event and move it up before the Email action to handle the array values.
2) Have you added the file input name to the Attachments box in the Email action?
3) Yes, you can click the Table name in the Connected Tables column of the Forms Manager. You can customise the columns in the DB Viewer tab in the Form editor.
Bob
1) Please drag a Handle Arrays action into the On Submit event and move it up before the Email action to handle the array values.
2) Have you added the file input name to the Attachments box in the Email action?
3) Yes, you can click the Table name in the Connected Tables column of the Forms Manager. You can customise the columns in the DB Viewer tab in the Form editor.
Bob
Hi Bob, thanks for your pointers. I still have a few things unsolved:
1) I've added a Handle Arrays in on submit and it is just before Email. However I've noticed there is already a Handle Array 13 over there so the one I've added is Handle Array 14. Also tested the form it still doesn't work.
I have this option in dropdown, but in the email it shows "0" instead of "Selection A". How can I fix this?
0=Selection A
1=Selection B
2=Selection C
2) I dont quite understand this, is this the Attachment files (Comma separated list of fields names of type 'file' to be attached to the email.) section ?
1) I've added a Handle Arrays in on submit and it is just before Email. However I've noticed there is already a Handle Array 13 over there so the one I've added is Handle Array 14. Also tested the form it still doesn't work.
I have this option in dropdown, but in the email it shows "0" instead of "Selection A". How can I fix this?
0=Selection A
1=Selection B
2=Selection C
2) I dont quite understand this, is this the Attachment files (Comma separated list of fields names of type 'file' to be attached to the email.) section ?
Hi rzrz,
Please see this FAQ for the drop-down values.
The Attachments box takes the name of the File input e.g. file_input_1 or file_input1,file_input2
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Bob
Please see this FAQ for the drop-down values.
The Attachments box takes the name of the File input e.g. file_input_1 or file_input1,file_input2
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Bob
Data Array
Array
(
[chronoform] => feedback
[event] => submit
[Itemid] => 497
[option] => com_chronoforms5
[view] => form
[text1] => Test
[text2] => 234
[dropdown3] => 17
[text4] => 11
[dropdown4] => Punggol Place
[text5] => xxxxx@kuyk8ail.com
[text6] => 1234234
[radio7] => Town Council Services
[textarea9] => test3
[captcha] =>
[button11] => Submit
[ip_address] => 121.121.57.83
)
Array
(
)
Errors
Array
(
)
Debug Info
Array
(
[0] => Array
(
[Email] => Array
(
[0] => An email with the details below was sent successfully:
[1] => To:asd@yasdil.com
[2] => Subject:Feedback Received
[3] => From name:
[4] => From email:noreply@asdasd.org.sg
[5] => CC:
[6] => BCC:
[7] => Reply name:
[8] => Reply email:
[9] => Attachments:
[10] => Body:
<table>
<tr><td>Name</td><td>Test</td></tr>
<tr><td>Block</td><td>234</td></tr>
<tr><td>array (
'text' => '',
'position' => 'left',
)</td><td>17</td></tr>
<tr><td>Unit No</td><td>17</td></tr>
<tr><td>-</td><td>11</td></tr>
<tr><td>Street</td><td>Punggol Place</td></tr>
<tr><td>E-mail</td><td>asd@yasdail.com</td></tr>
<tr><td>Contact</td><td>1234234</td></tr>
<tr><td>Subject</td><td>Town Council Services</td></tr>
<tr><td>Upload File</td><td></td></tr>
<tr><td>Message</td><td>test3</td></tr>
<tr><td></td><td></td></tr>
<tr><td></td><td></td></tr>
</table>
)
)
)
This is the email received:
Name Test
Block 234
array ( 'text' => '', 'position' => 'left', ) 17
Unit No 17
- 11
Street Punggol Place
E-mail asd@yasdasdil.com
Contact 1234234
Subject Town Council Services
Upload File
Message test3
Hi rzrz,
This bit looks as though it is coming from some broken PHP somewhere in a Custom Code action or the Email template - it's doesn't appear to link back to the form data directly
There is no sign of any uploaded file??
Bob
This bit looks as though it is coming from some broken PHP somewhere in a Custom Code action or the Email template - it's doesn't appear to link back to the form data directly
array ( 'text' => '', 'position' => 'left', ) 17
There is no sign of any uploaded file??
Bob
I have since managed to get the attachment appear in email - i copied the demo forms. However I am still stuck with this code:
array ( 'text' => '', 'position' => 'left', ) 17
array ( 'text' => '', 'position' => 'left', ) 17
This topic is locked and no more replies can be posted.