Forums

Create a basic form

GreyHead 13 Jul, 2007
Hi all,

Here's how to create a basic form in ChronoForms v 2.2.1

1) In ChronoForms Configuration select 'Titles Fields'

2) In ChronoForms Forms Manager create a new form.

3) Fill the General with these values (replace [email]admin@example.com[/email] with another valid e-mail address)



4) In the Form Code tab copy and paste this code into the Form HTML field (please notice that all attribute values must have quotes round them e.g. "name")
Name: <input name="name" value="" type="text"><br />
E-mail: <input name="email" value="" type="text"><br />
<input name="submit" value="Submit" type="submit">
5) Save the form

6) Click the form link and a new window/tab will open showing your form.

7) Complete the form and submit, check your inbox for the e-mail which should look like this:



That's it.

Bob
mukta 14 Jan, 2008
Sir i've uploaded basic form from your site using restore option , even i've changed [email]admin@example.com[/email] to [email]mukta19_kedar@rediffmail.com[/email]
but still when after accessing this form i'm not able to receive mail from this form to the provided mail . that means my mails are not geting forwarded .

please if possible send me the solution .
mukta 15 Jan, 2008
Respected sir,
Last time my attachment was not attached

pls check the snapshot , because still my problem is not solved .

I'm sending my problem related cronoforms in snap shot for your ready reference . as before i've send my query to you to which You have send the response , but still my problem is not geting solved .

also tempory i've created form in html, & i'm able to send my mail thru it .
but still i need cronoforms because i liked this component & i want to mak use of it




[file name=chronoquery.doc size=183296]http://www.chronoengine.com/components/com_fireboard/uploaded/files/chronoquery.doc[/file]
GreyHead 15 Jan, 2008
Hi mukta,

Please take a Form Backup of this form from the Forms Manager and send either post it here or email ti to me at the address in my sig.

The entries all look OK apart from the 'Show Saved Data' which suggests that you've been able to set up a database table. There is nothing unusual about the form link that I can see.

Bob
mukta 17 Jan, 2008
Respected sir,

i'm sending test_form backup to you.
[file name=test_form-361402cb1a04a56699aca3b7a25f040f.cfbak size=1480]http://www.chronoengine.com/components/com_fireboard/uploaded/files/test_form-361402cb1a04a56699aca3b7a25f040f.cfbak[/file]
mukta 17 Jan, 2008
I,m sending backup of test form to you .
please check. [file name=test_form_5_.cfbak size=1915]http://www.chronoengine.com/components/com_fireboard/uploaded/files/test_form_5_.cfbak[/file]
GreyHead 17 Jan, 2008
Hi mukta,

The form looks OK to me but you have your emails going To & From the same address and I suspect that the mailing system doesn't like that. Try using a different address in the To field to check that out. If I put my address in the 'To' field then I get the form emails OK.

Bob
kirkhayes 28 May, 2008
I am completely baffled. I cut and pasted the code and no form was created. I then tried to put in actual "'s , but the form still doesn't work.

Can't someone just cut and paste some normal code? I can't understand anything so far and I am usually really good at reverse engineering something to understand how it works. So far this is the most complicated form creation I have ever seen.

I would assume that if I can create a simple mail.php file and the html page to go with it I could use this component, but so far I can even do that?
GreyHead 28 May, 2008
Hi kirkhayes,

You cut and pasted what code in where?

Just put your form html - without <form> tags in the Form HTML box on the Form Code tab. Save the form, click the link and test it.

You don't need a mail.php - that's built in. And Joomla creates the page - that's it really. Couldn't be much simpler.

Bob
kirkhayes 28 May, 2008
I eventually got it figured out. Your code in the first post isn't correct, so when I cut and pasted it into an html format it didn't work at all. I'm sure it was correct when you cut it, but this forum screws up the code when it gets pasted.

Thanks for the response. I would suggest trying to understand why this forum doesn't allow code to be pasted in.
GreyHead 28 May, 2008
Hi kirkhayes,

I've fixed the code in the first post. Downloading the test form from the downloads section is a more reliable way of getting it.

I apologise for the forums. Max, who develops ChronoForms, had to upgrade the forums because there were some serious database load problems with the old version. Unfortunately the new version parses the code differently and all of the old code pasts are messed up. I fix them when I come across them but there are always going to be some that are weird.

Bob
kirkhayes 28 May, 2008
Great, I didn't know the code was available in the downloads section. Thanks for the help
This topic is locked and no more replies can be posted.