File uploads are supported by later versions of ChronoForms, if you don't see a 'File Uploads' tab in the Forms Manager then please upgrade.
In the File Uploads tab:
Set Enable uploads to Yes;
Add the field names and allowable extensions in the format fieldname:ext1|ext2|ext3,fieldname2:exta|extb|extc . . . (note that '*=all' opens some security problems and has been disabled)
Put values in both the Max and Min fields (do not leave blank)
In the General tab put enctype='multipart/form-data' in the Form Tag attachment field.
Make sure that your Form HTML has one or more 'file' inputs and that the name(s) are identical to the names you entered in the File Uploads tab.
Note: Your files will be uploaded to the {yoursite}components\com_chronocontact\upload folder which is created when ChronoForms is installed.
Partager