Quantcast
Channel: Joomla and Wordpress forms and forums extensions
Viewing all 140 articles
Browse latest View live

How to use file uploads in my edit form ?

$
0
0

In a Connectivity form all fields names have the Model ID, which means that all values are sent under a specific data key in the $form->data array, and in order to be able to handle the file upload of one of the fields, the following config has to be done:

In the "Files Config" box, you will need to use the Model name as the field name, so you can use something like: Model:jpg-png-pdf

Then you will need to write "Model" in the "Arrays fields" box in order to handle all the file fields under the Model key.

This method should work on Chronoforms v5.0.4 and later.

Another solution would be to remove the Model name from the file field (e.g: field1) and use that in the file uploads action settings, but then you will have to move the value of the field under the Model key in the data array using PHP:
$form->data["Model"]["field"] = $form->data["field"];


How can I add Google Analytics event tracking in CFv5?

$
0
0

Here's how one user solved this problem. You can easily attach the code to the submit button but then it triggers even if the form validation fails so you can get multiple results sent to GA. The approach here fires the tracking code only after the form validation succeeds.

How can I translate emails?

$
0
0
The ChronoForms Email action allows you to create an email template but there is only one template and there is no obvious way to support different languages. This FAQ suggests some ways to handle translations. 

How can I add a ChronoForms Captcha to my custom HTML?

$
0
0
The ChronoForms Captcha is a convenient anti-spam check that can be added simply in the Wizard. If your CFv4 form does not use the Wizard then you still add a Captcha by including the following HTML.

How can I sanitize my form data?

$
0
0
When users submit data from a form they are free to enter anything they like into the form inputs - including corrupt, unwanted or just plain malicious (i.e. dangerous) content. While clientside validation can block user errors it is easily bypassed by turning JavaScript off and so does not provide any real protection for your site.
 
ChronoForms does no server filtering, sanitization or validation on submitted form data by default.

How can I add an external Color picker to my form?

$
0
0

Here is a very simple method to add a color picker to a text input in ChronoForms v5. This was contributed by user Surgit.

How can I format a file input?

$
0
0

File input elements in forms are normally formatted by the user's browser, not by ChronoForms. There are though many ways of changing the defualt layout using CSS and JavaScript. This FAQ looks at using a few examples of these methods in CFv5.

How can change the 'required' asterisk and the tooltip layout?

$
0
0

ChronoForms v5 adds an asterisk after the Label for required inputs and shows a red tooltip when a client-side validation error is found. This FAQ show show you can change the way these look.


How can I add a password strength check in CFv5?

$
0
0

Users will often use  'easy' to remember passwords that may not be very secure. This FAQ shows you how to add a strength 'meter' to a Password input in CFv5.

What's the Container element for?

$
0
0

What the new (in CFv4 RC3.4) Container element appears to do is to provide a way of 'grouping' form elements into blocks.

How can I add 'stripes' to my form background?

$
0
0

A user wanted to style their form so that there were horizontal bands to distinguish the form inputs. Here's one solution with a few lines of CSS.

How can I use the Multiplier in CFv5?

$
0
0

ChronoForms v5 has added a new Multiplier Container option that lets you set up a group of elements with a 'Plus' button that lets the user add an extra copy of the group into the form. This FAQ explains some of the ways to use it.

How can I clear the form when it relaods?

$
0
0

The question came from a user who was building a form to create a series of entries. They wanted to re-load the form after it was submitted to add another set of entries. By default ChronoForms v5 re-loads the form and displays the last set of entries. Here are two possible solutions.

How can i create a Joomla! registration form?

$
0
0

User JoiNto has written this tutorial on creating a Joomla! registration form linked to an external database.

How can I add a time picker to CFv5?

$
0
0

A client wanted a time-picker in a CFv5 form. The ChronoForms v5 date-picker doesn't have this built in, but you can use the jQuery datepicker instead and add a time-picker to that.


Resolving jQuery problems in Joomla! 3

$
0
0

Joomla! 3 uses the jQuery JavaScript library (replacing the MooTools library used in Joomla! 1 and 2). However jQuery has many optional plug-ins that can be added to the core files and Joomla! only installs some of them that it needs. As a result many templates and components - including ChronoForms v5 - load their own version of the jQuery files. This can cause confusion and conflict.

The simplest resolution I have found is to use the jQueryEasy extension from Simplify Your Web. This plug-in allows you to specify exactly which versions of jQuery and jQuery UI you want to use (usually the most recent full release is good) and where it should be downloaded from (usually the default Google Code setting is good). It will then check for any other versions being installed and block them so there is only one version loaded in the page.

Please see their site for the full documentation and options. 

How can I have a 'select all' option in a checkbox group?

$
0
0

A user wanted to be able to add a 'Select All' option to a checkbox group in ChronoForms v5. The idea was that when this checkbox is clicked all the others in the group are checked. Here is a short jQuery solution for this.

How can I edit uploaded files in a form?

$
0
0
It isn't useful to redisplay the value of file inputs in an edit form as there is no way of knowing the path to the file on the user's computer and so the value is incomplete. Because of this most browsers won't allow it.

How can I build a product list?

$
0
0

This FAQ looks at one way to use a ChronoForm to take product data from a database table and display it in rows with a 'quantity' input box so that it is the first step in a mini shop.

 

How can I build a product list?

$
0
0

This FAQ looks at one way to use a ChronoForm to take product data from a database table and display it in rows with a 'quantity' input box so that it is the first step in a mini shop.

Viewing all 140 articles
Browse latest View live