Free Sample
+ Collection

ChronoForms 3.1 for Joomla! site Cookbook

Bob Janes

80 recipes for building attractive and interactive Joomla! forms
RRP $26.99
RRP $44.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849510622
Paperback376 pages

About This Book

  • Develop feature-rich Joomla forms with the help of easy-to-follow steps and ample screenshots
  • Publish forms, that let you interact with your users, to a website using ChronoForms in minutes, not in hours
  • Explore the versatility of ChronoForms and use them to make your web site an interactive one
  • Part of Packt's Cookbook series: Each recipe is a carefully organized sequence of instructions to complete the task as efficiently as possible


Who This Book Is For

This is a practical hands-on book for people who want to add forms to their Joomla! site.
Whether you just want to add a simple newsletter sign-up form or a complex multi-page interactive form you’ll find helpful suggestions and recipes that will get your forms working.
Many recipes will work ‘out-of-the-box’ using ChronoForms built-in capabilities; other more advanced recipes require some knowledge of Joomla!, HTML, CSS ,PHP, MySQL or JavaScript. There is working code with each recipe that you can adapt to meet your specific needs.

Table of Contents

Chapter 1: Creating a Simple Form
Downloading and installing ChronoForms
Creating a simple form with the Form Wizard
Sending the form results by e-mail
Showing a "Thank You" page
Editing your form with the Wizard Edit
Redirecting the user to another page
Backing up and restoring your forms
Chapter 2: E-mailing Form Results
Replying to e-mails
Getting your e-mails delivered safely
Sending a "Thank you" e-mail to the form submitter
Choosing e-mail addresses from a list
Attaching uploaded files to the e-mail
Attaching a "standard" file to the e-mail
Creating a "dynamic" subject line using info from the form
Chapter 3: Styling your Form
Using ChronoForms default style
Switching styles with "Transform Form"
Adding your own CSS styling
Putting several inputs in one line
Adding your own HTML
Chapter 4: Saving Form Data in the Database
Creating a table to save your results and linking your form to it
Viewing your saved form results
Updating and changing DB Connections
Exporting your results to Excel or a CSV file
Chapter 5: Form Validation and Security
Making "required" fields
Specifying the types of input that are allowed — text, numbers, dates, and so on
Customizing validation error messages
Adding extra security with "server-side" validation of submitted information
Getting the user to confirm their data before submission
Adding an ImageVerification captcha / anti-spam check
Adding a reCAPTCHA anti-spam check
Limiting form access to registered users
Chapter 6: Showing your Form in your Site
Including your form in an article using the ChronoForms plugin
Showing your form on selected pages using the ChronoForms module
Linking to your form from Joomla! menus
Using a form to create a Joomla! article
Redirecting users to other Joomla! pages after submission
Chapter 7: Adding Features to your Form
Adding a validated checkbox
Adding an "other" box to a drop-down
Sending an SMS message on submission
Signing up to a newsletter service
Adding a conversion tracking script
Showing a YouTube video
Adding a barcode to a form e-mail
Adding a character counter to a textarea
Creating a double drop-down
Chapter 8: Uploading Files from your Forms
Adding a file upload field to your form and setting the allowed types and sizes
Saving files to different folders
Renaming files
Linking files to e-mails
Resizing and copying image files
Displaying images in e-mails and articles
Troubleshooting problems with files
Chapter 9: Writing Form HTML
Moving an existing form to ChronoForms
Moving a form with JavaScript
Moving a form with CSS
Creating a form with Wufoo
Creating a form in Dreamweaver
Chapter 10: Creating Common Forms
Creating a simple newsletter signup
Creating a form to link to Acajoom
Creating a form to publish a Joomla! article
Creating a "Contact us" form
Creating an image or document upload form
Creating a multi-page form
Chapter 11: Using Form Plug-ins
Controlling form access by user group, day, and/or time with the Watchman plug-in
Creating multi-lingual forms with the Multi-Language plug-in
Showing and editing saved information with the Profile plug-in
Registering users with the Joomla! Registration plug-in
Creating a PayPal purchase form with the ReDirect plug-in
Chapter 12: Adding Advanced Features
Using PHP to create "select" dropdowns
Using Ajax to look up e-mail addresses
Getting information from a DB table to include in your form
Show a form in a light-box
Tracking site information
Controlling e-mails from form inputs
Building a complex multi-page form
Troubleshooting problems with forms

What You Will Learn

  • Create forms using the drag-and drop wizard, HTML from an existing form, or built in Dreamweaver
  • Setup emails to send form results to a site admin, or to the user, or anyone else
  • Change the look and feel of your form to match your site
  • Save your form data in the Joomla database and export it again
  • Set up form validation and security
  • Display your form in its own page, in an article, a module or a light box
  • Add file uploads to your form, validate the file type, save files on your site, attach them to emails; re-size image files and display them in emails or article
  • Create common types of form: newsletter sign-up, custom ‘contact us’, image upload, PayPal purchase, Joomla registration, and more
  • Use ChronoForms plugins to enhance your forms: control access; send information to other sites; multi-lingual forms; multi-page forms
  • Develop more advanced features: send an SMS; add a bar code in the email; using Ajax to check email addresses; adding conversion tracking scripts


In Detail

Joomla! is a fantastic way to create a dynamic CMS. Now you want to go to the next step and interact with your users. Forms are the way you ask questions and get replies. ChronoForms is the extension that lets you do that and this book tells you how.

From building your first form to creating rich form based applications we will cover the features that ChronoForms offers you in a clear hands-on way. Drawing on three years daily experience using ChronoForms and supporting users there is valuable help for new users and experienced developers alike.

We will take you through form development step by step: from creating your first form using ChronoForms’ built-in drag-and-drop tool; validating user input; emailing the results; saving data in the database, showing the form in your Joomla! site and much more.Each chapter addresses a topic like ‘validation’ or ‘email’ and the recipes in the chapter each address a different user question from the beginners’ question ‘How do I set up an email?’ through to more advanced questions like using some PHP to create a custom email Subject line.Over eight chapters and eighty recipes we cover all of the ‘Frequently Asked Questions’ that new users and developers have about using ChronoForms. The recipe structure allows you to pick and choose just the solution that you need.


Read More