Forums

Chronoforms v4 error

LAMF 27 Jun, 2013
Hi,
I have a site where I have just added two pretty similar forms.
Only difference is that one form has more fields in it.
One of the forms works perfect but the second wont send any confirmation email to a recipient defined in the forms email field.
It keeps complaining about that I must type in at least one recipient of the mail.
I have tried to delete the email field and re add it but it still wont work, something must be weird, maybe becvause the two forms are so similar?
please view production site here with forms:
Form 1 (working): http://46.22.118.166/~dalagava/index.php/bestall/foretag
Form 2 (not working): http://46.22.118.166/~dalagava/index.php/bestall/privatperson

Looking forward to a solution.
GreyHead 27 Jun, 2013
HI LAMF,

Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.

Note: if you are using the Easy Wizard you can turn on Debug on the Others tab.

Bob
LAMF 28 Jun, 2013
Hi Bob,
Hereäs the debugger result (still complaining that no recipient is entered.

Array
(
[chronoform] => Order-privat
[event] => submit
[Itemid] => 135
[option] => com_chronoforms
[view] => form
[antal1] => 1
[gava] => 100
[summa1] => 220
[antal2] =>
[summa2] => 0
[antal3] =>
[summa3] => 0
[total] => 220
[namn] => Micke
[adress] => The Street
[postnr] => 111111 The Town
[epost] => [email]micke@lmiab.se[/email]
[tel] => 6523552528828
[meddelande] => Test
[recaptcha_challenge_field] => 03AHJ_VutmZaWzohV95jEXql1OJvcszNdmVLQDg6Laa4Wbs2F3YVF3luZWiVLHTyrnlvyLaDuKXSCh1ETypluPPFswlEGOwQtH_6MxJ7qksCxuDNA2iiLGt9IerWWUISJVZFUn9rrbhmM5YlMTztuJ5XD94eWpfNRdHQ01e_sW7XD44KpTgXNBFms
[recaptcha_response_field] => nanclec scale
[skicka] => Skicka
[9ace022d991d42bbae4ba1b7a8cb6aa8] => 1
)


And then on the same page it outputs this:

Array
(
)
Debug Data
email
7
Result
An email has been SENT successfully from (admin)admin@admin.com to [email]micke@duosmart.se[/email]
Body
Beställning - Privatperson

Namn Micke
Adress The Street
Postnr och Ort 111111 The Town
Epost [email]micke@lmiab.se[/email]
Telefon 6523552528828
Meddelande Test

Submitted by 194.237.8.243
Attachments
array ( )
8
Result
An email has been SENT successfully from (Dalagåvan)order@dalagavan.se to
Body
Orderbekräftelse från Dalagåvan
Tack för er beställning!
Vi återkommer med totalpriset inklusive frakt och betalningsinstruktioner.
Hälsningar
Anna och Malin
Er beställning:

Namn Micke
Adress The Street
Postnr och Ort 111111 The Town
Epost [email]micke@lmiab.se[/email]
Telefon 6523552528828
Meddelande Test


Submitted by 194.237.8.243
Attachments
array ( )

LAMF 28 Jun, 2013
Hi again Bob,
Forgot to attach a copy of the form.
GreyHead 28 Jun, 2013
Hi LAMF,

Please check the second email in the Debug output. There is no To Email set

An email has been SENT successfully from (Dalagåvan)order@dalagavan.se to



Bob
LAMF 28 Jun, 2013
Hi Bob,
But I have set up {epost} in the Dynamic to field in the second email settings dialog but it doesn't seem to have any effect. Because of that I tried to erase the action and aplly it again but still no luck. I even erased the entire form and did the set up from scratch with all fields but it still will not work...
LAMF 28 Jun, 2013
I solved it but I don't know how. I erased the old form and set up a brand new from scratch and to me it didn't seem any different than the old but it works!
What could have been wrong with the first one?
GreyHead 28 Jun, 2013
Hi LAMF,

The standard Email action doesn't accept {} in the boxes, just use epost.

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