= 1 AND access ORDER BY ordering 7. SELECT m.*, c.`option` AS component FROM jos_menu AS m LEFT JOIN jos_components AS c ON m.componentid = c.id WHERE m.published = 1 ORDER BY m.sublevel, m.parent, m.ordering 8. SELECT * FROM `jos_chrono_contact` WHERE `name` = 'madoil2' 9. SELECT * FROM `jos_chrono_contact` WHERE `id` = '2' 10. SELECT * FROM `jos_chrono_contact_plugins` WHERE `form_id` = '2' AND event IN ('ONLOAD','ONLOADONSUBMIT') AND `name` = '' 11. SELECT * FROM `jos_components` WHERE `option` = 'com_chronocontact' AND parent='0' AND admin_menu_link='option=com_chronocontact' 12. SELECT template FROM jos_templates_menu WHERE client_id = 0 AND (menuid = 0 OR menuid = 72) ORDER BY menuid DESC LIMIT 0, 1 13. SELECT id, title, module, position, content, showtitle, control, params FROM jos_modules AS m LEFT JOIN jos_modules_menu AS mm ON mm.moduleid = m.id WHERE m.published = 1 AND m.access AND m.client_id = 0 AND ( mm.menuid = 72 OR mm.menuid = 0 ) ORDER BY position, orderingLanguage Files Loaded * /hermes/bosweb/web002/b26/ipw.madoil/public_html/language/en-GB/en-GB.ini 1 * /hermes/bosweb/web002/b26/ipw.madoil/public_html/language/en-GB/en-GB.plg_system_debug.ini 1 * /hermes/bosweb/web002/b26/ipw.madoil/public_html/language/en-GB/en-GB.com_chronocontact.ini * /hermes/bosweb/web002/b26/ipw.madoil/public_html/language/en-GB/en-GB.tpl_madison.ini * /hermes/bosweb/web002/b26/ipw.madoil/public_html/language/en-GB/en-GB.mod_breadcrumbs.ini 1Untranslated Strings DiagnosticNoneUntranslated Strings DesignerNone"> multiple choice dosnt work - Forums

Forums

multiple choice dosnt work

zoom4267 13 May, 2010
I have the DB tables set up but it dosnt matter if i use, check box, radio, or drop down, the answeres dont show in the emails

the debug is below if that will help


1.
SELECT *
FROM jos_session
WHERE session_id = '699455d20bfef9247d993cc900ffa041'
2.
DELETE
FROM jos_session
WHERE ( time < '1273763588' )
3.
SELECT *
FROM jos_session
WHERE session_id = '699455d20bfef9247d993cc900ffa041'
4.
UPDATE `jos_session`
SET `time`='1273764488',`userid`='0',`usertype`='',`username`='',`gid`='0',`guest`='1',`client_id`='0',`data`='__default|a:8:{s:15:\"session.counter\";i:31;s:19:\"session.timer.start\";i:1273762448;s:18:\"session.timer.last\";i:1273764247;s:17:\"session.timer.now\";i:1273764249;s:22:\"session.client.browser\";s:88:\"Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3\";s:8:\"registry\";O:9:\"JRegistry\":3:{s:17:\"_defaultNameSpace\";s:7:\"session\";s:9:\"_registry\";a:1:{s:7:\"session\";a:1:{s:4:\"data\";O:8:\"stdClass\":0:{}}}s:7:\"_errors\";a:0:{}}s:4:\"user\";O:5:\"JUser\":19:{s:2:\"id\";i:0;s:4:\"name\";N;s:8:\"username\";N;s:5:\"email\";N;s:8:\"password\";N;s:14:\"password_clear\";s:0:\"\";s:8:\"usertype\";N;s:5:\"block\";N;s:9:\"sendEmail\";i:0;s:3:\"gid\";i:0;s:12:\"registerDate\";N;s:13:\"lastvisitDate\";N;s:10:\"activation\";N;s:6:\"params\";N;s:3:\"aid\";i:0;s:5:\"guest\";i:1;s:7:\"_params\";O:10:\"JParameter\":7:{s:4:\"_raw\";s:0:\"\";s:4:\"_xml\";N;s:9:\"_elements\";a:0:{}s:12:\"_elementPath\";a:1:{i:0;s:88:\"/hermes/bosweb/web002/b26/ipw.madoil/public_html/libraries/joomla/html/parameter/element\";}s:17:\"_defaultNameSpace\";s:8:\"_default\";s:9:\"_registry\";a:1:{s:8:\"_default\";a:1:{s:4:\"data\";O:8:\"stdClass\":0:{}}}s:7:\"_errors\";a:0:{}}s:9:\"_errorMsg\";N;s:7:\"_errors\";a:0:{}}s:13:\"session.token\";s:32:\"6f998bd86467bba6d64f19e6aab7e427\";}__eb81adcc4edfeccb1ba0f16dfe1a737f|a:1:{s:19:\"chrono_verification\";s:32:\"202722a1fec48532bfa53c19676bd0d7\";}'
WHERE session_id='699455d20bfef9247d993cc900ffa041'
5.
SELECT *
FROM jos_components
WHERE parent = 0
6.
SELECT folder AS type, element AS name, params
FROM jos_plugins
WHERE published >= 1
AND access <= 0
ORDER BY ordering
7.
SELECT m.*, c.`option` AS component
FROM jos_menu AS m
LEFT JOIN jos_components AS c
ON m.componentid = c.id
WHERE m.published = 1
ORDER BY m.sublevel, m.parent, m.ordering
8.
SELECT *
FROM `jos_chrono_contact`
WHERE `name` = 'madoil2'
9.
SELECT *
FROM `jos_chrono_contact`
WHERE `id` = '2'
10.
SELECT *
FROM `jos_chrono_contact_plugins`
WHERE `form_id` = '2'
AND event IN ('ONLOAD','ONLOADONSUBMIT')
AND `name` = ''
11.
SELECT *
FROM `jos_components`
WHERE `option` = 'com_chronocontact'
AND parent='0'
AND admin_menu_link='option=com_chronocontact'
12.
SELECT template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 72)
ORDER BY menuid DESC
LIMIT 0, 1
13.
SELECT id, title, module, position, content, showtitle, control, params
FROM jos_modules AS m
LEFT JOIN jos_modules_menu AS mm
ON mm.moduleid = m.id
WHERE m.published = 1
AND m.access <= 0
AND m.client_id = 0
AND ( mm.menuid = 72 OR mm.menuid = 0 )
ORDER BY position, ordering

Language Files Loaded

* /hermes/bosweb/web002/b26/ipw.madoil/public_html/language/en-GB/en-GB.ini 1
* /hermes/bosweb/web002/b26/ipw.madoil/public_html/language/en-GB/en-GB.plg_system_debug.ini 1
* /hermes/bosweb/web002/b26/ipw.madoil/public_html/language/en-GB/en-GB.com_chronocontact.ini
* /hermes/bosweb/web002/b26/ipw.madoil/public_html/language/en-GB/en-GB.tpl_madison.ini
* /hermes/bosweb/web002/b26/ipw.madoil/public_html/language/en-GB/en-GB.mod_breadcrumbs.ini 1

Untranslated Strings Diagnostic

None

Untranslated Strings Designer

None

GreyHead 13 May, 2010
Hi zoom4267,

Please turn Debug on in the Form General Tab, then submit the form and paste that debug info.

Bob
zoom4267 13 May, 2010
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] => Lisa [Address] => 123 homs [Town] => anywhere [check0] => Array ( [0] => check 1 ) [Telephone] => 1234567896 [Email] => [email]skytopdesigns@aol.com[/email] [Message] => this is a test message [button_9] => Submit [715a5c3b30c1114b1d6fed5776780c3a] => 1 [1cf1] => f2360e05684e9aa0838ff978cc610942 [chronoformname] => madoil2 )
6. $_FILES Array: Array ( )
7. Form passed the plugins step (if enabled) OK
8. An email has been SENT successfully from (Lisa)skytopdesigns@aol.com to [email]skytopdesigns@aol.com[/email]
9. Debug End
10.
Redirect link set, click to test:
http://www.madisonoilcompany.com/
GreyHead 14 May, 2010
Hi zoom4267,

That's fine but where's the 'dummy email' bit?

Bob
zoom4267 14 May, 2010
sorry about that, okay here is what comes into my email. the Best time to call has 3 options, AM, PM, or ANYTIME, no matter what i use, radio, check or drop down, i only get whats in the email below

Madison Oil
30 Scottland Ave, Madison, Ct
Name
Lisa
Address
123 homs
Town
anywhere
Telephone
1234567896
Email
[email]skytopdesigns@aol.com[/email]
Best time to call
{Best time to call}
Message
this is a test message
GreyHead 15 May, 2010
Hi zoom4267,

The {Best time to call} needs to be a valid input name from your form. The value in $post appears to be {check0} and in any case spaces are not allowed in input names so 'Best time to call' would not work.

You probably need
Best time to call {check0}
in your template.

Bob
zoom4267 16 May, 2010
Is there a way to have multiple words in? I changed it to "available" but my client may want "Best time to call"

thanks alot
GreyHead 16 May, 2010
Hi zoom4267,

As the client will probably never see the input name it is one case where their views aren't important.

You can have 'Best time to call: {available}' in the template if the form input has name='available'

Bob
zoom4267 16 May, 2010
you can give me a big "DUH" lol

when i do forms in dreamweaver i remember to do that.

great tool!!!

thanks for the help
This topic is locked and no more replies can be posted.