CFv4 Working with form data

Can I save files to AWS?

A user had a website where there was the potential for a large number of files to be uploaded. Rather than save them on the web server they wanted to save the files to the Amazon Web Services Simple Storage Service or 'AWS S3' for short. This FAQ describes a simple test form that uploads a single file, and, after the form is submitted, uploads the file to AWS and deletes the copy from the web server.

How can I get useful data from select drop-downs, checkboxes and radio buttons?

All three of these form elements: select drop-downs, checkbox groups and radio button groups can be set up with options lists of value + text. When the form is submitted the value is returned which is not always useful in an email. Also checkbox groups and select drop-downs with the 'multiple' option set return arrays of values. This FAQ shows you how to solve these two problems.

How can I use the form data?

The 'form data' is the data submitted by a user; plus any extra data that you have looked up from the Joomla! database tables or other sources. This FAQ describes the main ways in which you can access and use this data.

How can I pass form data to another site?

Passing data to other sites ChronoForms can get quite complicated. I have a tutorial that covers some of the ways that you can do this in CFv4. The tutorial uses MailChimp as an example and shows several different ways to create a ChronoForm that will sign your user up to the MailChimp newsletter service.

How can I use the form data with PHP?

ChronoForms stores all the information about the current form in the $form object (an object is - more or less - a fancy variant of an array). Everything about the form is there somewhere.

How can I give a unique ID to each form submission?

There are several ways of identifying submitted records and which you use depends on your form.