Forums

Radio button data not posted in email

dbrody 18 Mar, 2011
We have a form with a radio button on it. The data isn't being sent via email nor is it being saved in the table. Initially we didn't have a field for it in the table and it returned {radio0} in the email. Now it returns blank. It looks like it pulls the radio button data from the table, but it never gets saved in the table. Here is a debug and the actual email -

1.Form passed first SPAM check OK
2.Form passed the submissions limit (if enabled) OK
3.Form passed the Image verification (if enabled) OK
4.Form passed the server side validation (if enabled) OK
5.$_POST Array: Array ( [Name] => Dave [Address] => test [City] => test [State] => test [Zip] => test [email] => [email]dave@growhydroponix.com[/email] [radio0] => Store [chrono_verification] => tyeqg [button_10] => Submit [a560c0e7ffb73628686643b1682c5ff3] => 1 [1cf1] => b795cff0a38a6e4fa1992735da64c3c0 [chronoformname] => SampleRequest2a )
6.$_FILES Array: Array ( )
7.Form passed the plugins step (if enabled) OK



From: Hydroponix [dave@growhydroponix.com]
To: [email]dave@growhydroponix.com[/email]
CC:
BCC:
Subject: Sample Request

Name: Dave Address: test City: test State: test Zip: test Email: [email]dave@growhydroponix.com[/email] IndividualStore: Submitted by 68.127.151.212

Files:
GreyHead 18 Mar, 2011
Hi Dave,

It looks as though there isn’t a {radio0} placeholder in the template.

You need to refresh the DB Connection after any changes to database column names. In the Form Editor click the DB Connection tab and set the Connection to 'No'. Click the 'Apply icon in the toolbar to save the form, open the DB Connection tab, set the Connection back to 'Yes' and re-save the form. This will refresh the copy of the table information that ChronoForms uses.

Bob
dbrody 18 Mar, 2011
Worked like a charm - can't tell you how much time I've spent on this one.
This topic is locked and no more replies can be posted.