| Advanced Chronoforms |
|
To help some of you getting started, I've posted below text file containing the complete configuration of a form. It also has a few nice addons:
Everything is commented, so make sure to read the comments (especially in the Form HTML). Enjoy ChronoForms ConfigurationWritten and designed by Robby Timmermans, Notexa bvba Change History:
GeneralForm Name: checkincheckout Special FieldsEmail field: fromemail // form field, the dynamic emailadress(es) will be added to the static emailaddress(es) Form CodeForm HTMLthis is the code that will be shown as a form <?php global $my,$mosConfig_live_site; // first we check if the user is logged // if so, then we fill out some fields and set them to read only $readonl=""; $in=""; $out=""; if ($my->id) { $out=" SELECTED"; $readonl=" readonly='readonly'"; } else { $in=" SELECTED"; } ?> <fieldset> <legend>Your data</legend> <label for="fromname">Name : </label> <input type="text" name="fromname" id="fromname" tabindex="510" value="<?php echo $my->name?>"<?php echo $readonl?> /><br /> <label for="fromemail">Email : </label><input type="text" name="fromemail" id="fromemail" tabindex="511" value="<?php echo $my->email?>"<?php echo $readonl?> /> <br /> <label for="inout">Action : </label><select name="inout" id="inout" tabindex="512"> <option value="1"<?php echo $in ?>>Check in</option> <option value="2">Check in visitor</option> <option value="3"<?php echo $out ?>>Check out</option> </select> <br /> <label for="futdate">Date : </label><input type="text" name="futdate" id="futdate" tabindex="513" value="dd/mm/yyyy" /> <br /> <i>Please type the date in the field above</i><br /><br /> <label for="details">Details : </label><textarea cols=40 rows=4 name="details" id="details" tabindex="514"></textarea><br /> </fieldset> <fieldset> <legend>Send</legend> <!-- To use the following line, you have to change the chronoforms code as well, please see http://www.chronoengine.com/index.php?option=com_fireboard&Itemid=37&func=view&catid=2&id=912 --> <!-- This line makes sure that only visitors see the image verification, not the registered members --> <?php if(!$my->id){ ?> {imageverification} <?php } ?> <input type="submit" value="Send" tabindex="515" /> <input type="reset" value="Start over" tabindex="516" /></fieldset> <script language="javascript"> document.ChronoContact_checkincheckout.fromname.focus(); </script> Form Javascript// javascript that will be placed before the form function checkform () { if (document.ChronoContact_checkincheckout.fromname.value==""){ alert("Please typ your name"); document.ChronoContact_checkincheckout.fromname.focus(); return false; } if (document.ChronoContact_checkincheckout.fromemail.value==""){ alert("Please typ your email"); document.ChronoContact_checkincheckout.fromemail.focus(); return false; } return true; } Email Template// template used to send the email<html> <head></head> <body> Dear,<br /><br /> <b>{inout}: {fromname}</b>, <br /> and this for the date: {futdate}<br /> Optional details: {details}<br /><br /> With kind regards,<br /><br /> {fromname} <br /><br /> <font size=1><i>Mail sent from http://www.notexa.be</i></font> </body> </html> Form URLsRedirect URL: link to static content page Element titles// if you send the email as field titles, you can define the description of a field here fromname=Name
Validation tabOnly available in the latest version (2007-08-29). Don't use yet, since it contains a bug or two. |
If you have any questions you can post to our forums and we will be glad to help ASAP
- Re:Problems when using Subversion and C...
GreyHead 13-05-08 06:19 - Re:Radio validation problem
GreyHead 13-05-08 05:42 - Re:Problems when using Subversion and C...
petersen 13-05-08 05:31 - Re:Building a recommend this website form
nrigo 13-05-08 04:57 - Re:Radio validation problem
Noterious 13-05-08 04:54 - Re:Radio Group Error
GreyHead 13-05-08 04:47 - Re:Radio validation problem
GreyHead 13-05-08 04:45 - Re:Building a recommend this website form
GreyHead 13-05-08 04:43 - Radio Group Error
paulwi 13-05-08 01:25 - Building a recommend this website form
nrigo 12-05-08 18:12 - Radio validation problem
Noterious 12-05-08 18:04 - Excel exporting
playcat 12-05-08 15:11 - reload on captcha fail
letsgo 12-05-08 14:15 - Re:blank screen in amdmin section
celini 12-05-08 14:14 - Re:Validation image / captcha not showing
GreyHead 12-05-08 13:24
Members Login

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com
ChronoForms License
To be able to continue working at this component we decided to get a small profit out of it but at the same time don't force everybody to pay in order to use this great component.
From version 1.5 and up a link at the bottom of everyform created will be placed, saying "joomla professional work", the link will be to us here htttp://www.chronoengine.com, its illegal to remove this link from the source code unless you have a license,
so the license is very simply for the same ChronoForms component without a link, thats all!
This License is for 5 different websites ONLY.
However, in order to allow everybody to still use the component and even get out of this, the link is inside a div with class : chronoform , use this to hide the link by using different colors or whatever if you really can't pay, but of course the link is still exists at your page source.
The license is ONLY 25$ can be bought here : 
Thank you!
ChronoEngine.com Team
