New to ChronoForms - A few questions to help complete my form.

bigsecz 29 Jul, 2014
I have the basic from layout complete. I need help with a few parts:

1. How can you create headings for different sections of the form (v5 doesn't have the drag/drop heading option)?
2. I want the user to be able to select the "To:" email/contact from a drop down menu of several different contacts.
3. I want the "From Name", and "From Email" to be that of the user.
4. I want a copy of the submission sent to the user's personal email.
5. When I try to link to the form from the menu option, I chose "Menu Item Type" as "ChronoForms5" and it autopopulates with a link that does not link to my completed form. It won't let me edit the URL here either.

Thanks for your help!
Max_admin 30 Jul, 2014
#1- please use the "custom" element under the advanced group!
https://www.chronoengine.com/chronoforms-start-guide.html
#2- you need to use the "dynamic to", you will also need to protect the addresses using PHP code, there is a FAQ on that
https://www.chronoengine.com/faqs/52-cfv4/cfv4-emails/2603-how-can-i-send-an-email-to-different-addresses.html
#3- use the dynamic ones under the advanced tab, but this may mark your message as SPAM, so we suggest using static ones and use the "dynamic reply to email" instead!
#4- Use dynamic to
#5- under the "params" or "options" tab (2nd one) you have to set the form's name!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
bigsecz 30 Jul, 2014
I'm using v5

For:

In the OnSubmit event I have a Custom Code action with Mode = Controller

Where do you modify the custom code action?
bigsecz 31 Jul, 2014
I can't get the form to send. I get the confirmation page saying that it was sent with no errors but nothing comes through. Here is what I have so far. First let me preface by saying I'm executing this from localhost though I wouldn't think that would matter.

For the OnSubmit event I have the following:

1. Email action with Enabled set to "Yes", static name of subject and static name of form.

2. Email action Advanced tab Dynamic To set to 'officecontact' (officecontact is the name of my form field drop down menu), Dynamic Reply set to 'useremail', and Dynamic From set to 'useremail' ('useremail' is the form field I use to identify the user's email)

3. I have a Custom Code action with the following code:
<?php
$recipient = JRequest::getString('officecontact', 'em1', 'post');
$emails = array (
'em1' => 'test1@yahoo.com',
'em2' => 'test2@yahoo.com',
'em3' => 'test3@yahoo.com' );
$form->data['officecontact'] = $emails[$recipient];
?>
Max_admin 31 Jul, 2014
I think the main problem now would be with emails, do you get any emails from your website when doing any other stuff like registering a new user..etc ? emails don't usually work on localhost, unless you do some config!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
bigsecz 01 Aug, 2014
Max,

I loaded the site to the server and the mail function still isn't working. I have a simple Contact Us form and a complex Request Form (this is the one where the user selects where to email it) and neither of them are sending.
bigsecz 02 Aug, 2014
Okay....I finally got the forms to send. But it's showing up as from Root User no matter what I put in the "From" fields.
It's also not including attachments.
GreyHead 02 Aug, 2014
Hi bigsecz,

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 in CFv4 or the Setup tab in CFv5.

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