Forums

creating custom form

dannyd 16 Mar, 2009
I have chronoforms installed.

How difficult is it to turn this page into a form that submit to email ?

http://cars4specialkids.com/new-vehicle-request

Do I need PHP along with the form ? I'm finding it difficutl to understand how chronoforms works.
GreyHead 16 Mar, 2009
Hi Dannyd,

Create a new form in ChronoForms. Copy the form html - between the <form . . .> and</form> tags
<table width="375" border="0" cellpadding="5" cellspacing="0">
    <tbody>
      <tr>
        <td colspan="2"><strong>Customer Information</strong></td>
      </tr>
      <tr>
        <td width="90" align="right">Full Name:</td>

        <td><input name="fullName" size="43" type="text" /></td>
      </tr>
      <tr>
        <td align="right">Phone Number:</td>
        <td><input name="phoneNumber" size="43" type="text" /></td>
      </tr>
      <tr>
        <td align="right">E-mail Address:</td>

        <td><input name="emailAddress" size="43" type="text" /></td>
      </tr>
    </tbody>
  </table>
  <br />
  <table width="375" border="0" cellpadding="5" cellspacing="0">
    <tbody>
      <tr>
        <td colspan="2"><strong>Vehicle Information</strong></td>

      </tr>
      <tr>
        <td width="90" align="right">Year Range:</td>
        <td><input name="yearStart" size="10" maxlength="4" type="text" />
          to  
          <input name="yearEnd" maxlength="4" size="10" type="text" /></td>
      </tr>
      <tr>
        <td align="right">Make:</td>

        <td><input name="vehicleMake" size="43" type="text" /></td>
      </tr>
      <tr>
        <td align="right">Model:</td>
        <td><input name="vehicleModel" size="43" type="text" /></td>
      </tr>
      <tr>
        <td align="right">Options:</td>

        <td>(Colours, interior etc.):<br />
            <textarea name="vehicleOptions" rows="3" cols="45"></textarea></td>
      </tr>
    </tbody>
  </table>
  <br />
  <table width="325" border="0" cellpadding="5" cellspacing="0">
    <tbody>

      <tr>
        <td align="center"><input type="button" value="Submit" name="Submit"></td>
      </tr>
    </tbody>
  </table>
and paste it into the Form HTML box on the Form Code tab (you may need to click the +- sign to open it).

Add a snippet at the beginning and paste in the first paragraph:
<div>Enter the information and other criteria requested for you next vehicle  and we will alert you when the vehicle you are searching for is added  to our inventory.</div>


In the General Tab give the form a name and save it.

Click the Publish button in the right hand column; then click the url link in the middle and the form will open in a new window or tab.

That's it really, you may have to tweak styling and layout and use some more advanced settings for email and to save data - see the tutorials in the DownLoad area for more info on those.

Bob
GreyHead 16 Mar, 2009
Hi DannyD,

Where do you want it to submit to?

Check the Email Tutorial from the Downloads area to set up a Email and have it sent to you. Or the Databse one to save the info in a databse table.

Bob
dannyd 16 Mar, 2009
Hi Again,

When I click Apply to add the to/from/email as the tutorial says nothing happens. Can I message you my admin login and password to take a look at ?
GreyHead 16 Mar, 2009
Hi DannyD,

Sure - email or PM is fine.

Bob
dannyd 16 Mar, 2009
Hi Bob,

Thanks for fixing the problem. I also created another form and that works as well so I'm half way there.

How can I format the emails so that the data is formatted properly. So my output would be something like this single spaced:

Fullname:
Phone number:
Email:
Car Date Range:
Make:
Model:
Additional Options:

Thanks.. great component!
Max_admin 16 Mar, 2009
Hi DannyD,

you can change the email template to your needs!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
gymrat 18 Mar, 2009
Hello,

I am a newbie with chronoforms. I installed Chronoforms V3.1 RC2.zip in my Joomla 1.5.8 (MAMP). After I created the form and published it, I tested it to see if it would work. After clicking on submit button in my form, I received my custom message saying my form has been successfully submitted. But nothing else. I had set up my form to email me upon submission but there were no emails sent. I checked my email settings and have the proper To, From and Subject fields.

Now my question is do I need more than the component to make this work (ie plugin)? What am I missing here? This looks like a terrific component. Only wish I could get it to work. I have read some post regarding emails but even after trying that it still didn't work. Would greatly appreciate it if someone can give me pointers on solving this. Thank you.
GreyHead 18 Mar, 2009
Hi gymrat ,

Please check the Emails Tutorial from the Downloads area here as there are a few things that might cause this problem.

Bob
gymrat 18 Mar, 2009
Hello GreyHead,

Thanks for the suggestion. I have already read that tutorial. But just to make sure, I re-read and follow the steps exactly as explained. I even put it in debug mode. From the debug mode, it seems the form went through successfully. But I am not getting the form set to my email. Could it be because I am on MAMP? Or do I need to create a table in ChronoForms first? Here is a screenshot after submission.
[attachment=0]chrono.gif[/attachment]
GreyHead 18 Mar, 2009
Hi gymrat,

Excellent, thanks for double-checking. I don't know if MAMP includes a default mail-server, my XAMPP doesn't.

You have a gmail account so you can use the gmail SMTP server for testing (or live come to that).

In the site Global Configuration | Server tab enter smtp as your mail type, smtp.gmail.com as the server address and your gmail address and passsword in the authorisation boxes.

Bob
gymrat 18 Mar, 2009
Hello Bob,

Thanks for your help again. As you have suspected it was because I was on MAMP. When I reconfigured the settings to a live site, it worked! This module seems to be the best in the market with all the features and options. Only drawback is I have to spend some time familiarizing myself. 😀 Hands down the best choice for contact forms.
genov80 18 Mar, 2009
Hi everybody,
I have exactly the same problem as dannyd’s one, but there is no explanation how to fix it.
GreyHead would you be OK if you post here what is the way to resolve this problem🙄 !
Thank you!
Great component!
Max_admin 18 Mar, 2009
Hi genov80,

did you check the tutorial under Downloads/Chronoforms tutorials/ ? its actually straight forward, you drag and drop the necessary email elements and enable email land save form!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
genov80 18 Mar, 2009
Hi Max,
thank you for the advice but I did that step by step. The container is green but when I press the 'apply' button nothing happens.
GreyHead 19 Mar, 2009
Hi genov80,

Nothing visible does happen. In the Forms Manager do you have Enabled:1 in the Emails column for your form?

Bob
cchhita 16 Apr, 2009
Hi There,
I seem to have the same issue as Dannyd from the very beginning of the thread.
But there seems to be no answer posted on how he resolved his issue.

I have created a form using the wizard, which works great! But the styling etc was not very good, so I wanted to fix this. I copy all the HTML code into dreamweaver and added a table around some of the fields and gave it a bit more of a cleaner look, then put the code back into the code section of the form.
Now for some reason the Submit button does not work at all.

The form is not live yet, so I cannot provide a link to it, but can alter some details and post the code if that would help.

THanks
GreyHead 16 Apr, 2009
Hi cchhita,

Sure post the code here - or rmail or PM me a backup copy if you prefer.

Please check that the submit button is type='submit'

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