ChronoForms v4 is a major upgrade - especially of the Admin area. This forum is for discussing questions that are specifically related to v4.
by GreyHead » Thu Mar 03, 2011 3:48 pm
Hi, ChronoForms v4 has a much more modular framework than ChronoForms v3 -- that make it easier to add in extra form elements or form Actions. Here is a long list of Actions included in the CFv4 RC3.5: Note: there were changes in the order of the Groups and the location of some actions in RC 3.1 and RC 3.3- Core Actions
- Custom Code
- Debugger
- Email
- Event Loop
- Handle Arrays
- Show HTML
- Show Stopper
- Show Thanks Message
- Style Form (new in RC 3.4.1)
- Upload Files
- Validation (added in RC 3.3)
- Auto JavaScript validation (new in RC 2.0)
- Auto Server Side Validation (new in RC1.5)
- Custom Server Side Validation
- Email verification Response
- Email verification Sender
- Anti SPAM (added in RC 3.3)
- Check Captcha
- Check ReCaptcha
- Check Security Question (new in RC 3.0)
- Load Captcha
- Load ReCaptcha
- Load Security Question (new in RC 3.0)
- Data Export (new in RC3.4)
- CSV Export [GH] (new in RC 3.0, moved in RC 3.4)
- XML Export (new in RC 3.4)
- DB Operations
- Data to Session (moved in 3.5)
- DB Record Loader
- DB Multi Record Loader
- DB Save
- Session to Data (moved in 3.5)
- Security
- Authenticator
- Check Fields Hash (new in RC 3.4)
- Check Token
- Load Fields Hash (new in RC 3.4)
- Utilities
- Add System Message (new in RC 3.1)
- Confirmation Page (new in RC 1.7)
- Custom DatePicker [only in the Joomla! 1.5 version]
- File Downloader (new in RC 3.0)
- Image Resize (new in RC 3.0)
- Load CSS
- Load Image Upload (new in RC 3.5)
- Load JS
- Meta Tagger (new in RC 2.0)
- Multi Language
- Multi Page (new in RC 3.1)
- Show Form (new in RC 1.7)
- Joomla! Functions (renamed from RC 3.1)
- Joomla! Login
- Joomla! Logout (new in RC 3.4)
- Joomla! Plug-ins (new in RC 3.0)
- Joomla! User Registration (includes CB from RC 3.0)
- Joomla! User Activation (new in RC 3.21)
- Joomla! User Create/Update (new in RC 3.21) [not in the Joomla! 1.5 version]
- Submit Article (new in RC 1.5)
- Payment Gateways/Processors (new in RC 1.5)
NOTE: Payment actions may require extra payment. These versions are for development and may randomise the amount.
- 2CO Listener (new in RC 1.5)
- 2CO Sender - Trial (new in RC 1.5)
- Authorize.net - Trial
- PayPal Listener - Trial (new in RC 1.9)
- PayPal Pro = Trial (new in RC 1.5)
- PayPal Redirect - Trial (new in RC 1.9)
- Power fields (added in RC 3.3)
- Autocomplete Loader (new in RC 2.0)
- Autocomplete Processor (new in RC 2.0)
- Custom Datepicker (new in RC 1.9) [not in the Joomla! 1.5 version]
- Custom MooTools Datepicker (new in RC 3.2.1) [not in the Joomla! 1.5 version]
- Dynamic Dropdown (new in RC 3.0)
- Redirect/Remote Submit (added in RC 3.3)
- Curl
- HTTP Request (new in RC 2.0)
- iFrame Request (new in RC 3.4)
- Redirect URL (new in RC 1.8 )
- Redirect User (new in RC 1.8 )
- Session Data (removed in 3.5 see Data/DB Operations)
- Widgets Processors{list=a]
- Multi Upload (new in RC 3.5){/list]
- ChronoForms Apps (new in RC 3.1)
- ChronoConnectivity Return to App (new in RC 3.1)
- ChronoConnectivity Task (new in RC 3.1)
I have written some 'advanced' actions that add extra functionality. You can get these from my site here. - Show HTML [GH] : mainly gives access to validation options.
- CSV Export [GH] : very flexible exporter for database records (included in ChronoForms from RC 3.0)
- Upload Files [GH] : very flexible uploaded file handler.
- Load CSS/JS file : simple actions to load script and style files.
- Email [GH] : very flexible Email action including conditional emails.
- cURL [GH] : adds Array handling and CURLOPT settings
- Load user info [GH] : loads the current user info
- Unique ID [GH] : flexible action to create a unique alphanumeric ID
- Event switcher [GH] : allows you to change actions depending on the form results
- Ajax Enabled Dropdown [P} : written by user Petasis allows you to change any form element [/list]
Bob
-

GreyHead
- Administrator

-
- Posts: 31975
- Joined: Tue May 29, 2007 10:15 pm
- Location: Brittany
by GreyHead » Thu Mar 10, 2011 1:57 pm
The attached action is a slightly modified copy of the standard Upload Files action. It will display as 'Upload Files [GH]'. This version - Includes an 'Upload path' parameter so that you can set the path to any writable folder.
- Add the curly replacer to the Upload path so you can use e.g. . . ./folder/{input_name}/ to place the file into a specific folder. Note: to create username folders add a hidden 'username' input to your form HTML.
- Add the special {form_name} replacer to the Upload path. Useful if you copy forms to avoid having to find and replace the specific form name.
- Replaces / or \ in the file path with the Joomla! Directory Separator (DS)
To install unzip the attached file and copy the unpload_files_gh folder to the administrator/components/com_chronoforms/form_actions folder on your site. This action should co-exist happily with the standard Upload files action but probably best not to use both on the same file input. Note: please treat this as beta code to be used with care! Bob Please download from here
-

GreyHead
- Administrator

-
- Posts: 31975
- Joined: Tue May 29, 2007 10:15 pm
- Location: Brittany
by raila » Sat Mar 12, 2011 2:08 pm
Thanks Bob. I may be having a different issue, because I am doing a test run that emails and uploads with this new code. I am testing uploading a small jpg file, and I get the email: Name raila
File: test.jpg
Submitted by 98.222.134.79
And in the specified directory there is an index.html but nothing else.
My upload action settings include Files upload:jpg max 1000 min 0
I don't get any errors or messages so how might I debug this? Thanks!
-
raila
- Fresh Boarder
-
- Posts: 4
- Joined: Tue Mar 08, 2011 12:24 pm
by GreyHead » Sat Mar 12, 2011 2:37 pm
Hi raila, Does the upload work with the standard File Upload action? What file path do you have entered? If the index.html file was created then all the permissions should be OK  Bob
-

GreyHead
- Administrator

-
- Posts: 31975
- Joined: Tue May 29, 2007 10:15 pm
- Location: Brittany
by raila » Sat Mar 12, 2011 7:02 pm
Nope, I have yet to have a successful upload with v4, hence the first question about the path. I had lots of success with v3, all I had to do was create the form-named directory on the server with v3 and it worked. But since v4 on the same server and joomla I've yet to get one uploaded.
-
raila
- Fresh Boarder
-
- Posts: 4
- Joined: Tue Mar 08, 2011 12:24 pm
by GreyHead » Sat Mar 12, 2011 9:18 pm
Hi raila,
Hmmm . . . I've had both versions upload files OK.
Could be a permission problem - the code in CFv4 doesn't try to set permissions, perhaps it should.
By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.
Bob
I'll split this conversation into a new thread.
-

GreyHead
- Administrator

-
- Posts: 31975
- Joined: Tue May 29, 2007 10:15 pm
- Location: Brittany
by GreyHead » Sun Mar 13, 2011 8:42 am
Hi raila,
Cracked it. You have to manually add the enctype='multipart/form-data' in the Form Tag Attachment box on the Standard Form Editor - you can't currently set this from the Wizard.
Click the 'Name' Link from the Forms Manager to access this.
Bob
-

GreyHead
- Administrator

-
- Posts: 31975
- Joined: Tue May 29, 2007 10:15 pm
- Location: Brittany
by raila » Mon Mar 14, 2011 3:53 am
Thank you! I guess v3 did this automatically from the wizard.
About upload sizes..... In the wizard I make the file upload max 15000 and min 0, this should let me upload a 15M file but I'm currently limited to 4M (experimentally determined). Is there either a joomla setting or php setting that is getting in the way?
Thank you!
-
raila
- Fresh Boarder
-
- Posts: 4
- Joined: Tue Mar 08, 2011 12:24 pm
by GreyHead » Mon Mar 14, 2011 8:36 am
Hi raila,
There's a PHP setting. You can check it in Help | System Info| PHP Information | max_file_uploads
You may be able to increase this in the php.ini file - though most hosts have a maximum set for the server.
You are right that later versions of CF3 did this from the Wizard. I had a quick look at the Action code and couldn't find any way to change it form there as the Action is only called when the form is submitted. I could write a mini-action for the onLoad event I guess.
Bob
-

GreyHead
- Administrator

-
- Posts: 31975
- Joined: Tue May 29, 2007 10:15 pm
- Location: Brittany
by GreyHead » Mon Apr 25, 2011 5:32 am
Hi, I've written a modified Email [GH] Action that works a little differently from the standard Email Action. The main differences are listed here. For more information please see the Help tab in the Action Configuration. - New conditional box enables the Email Setup only if a form input has a specified value e.g. send_email = Yes
- The File Attachments box is enhanced and will accept one or more input names {input_file_1} or static file paths.
- The static and dynamic boxes are combined and, for example, the To Email box will accept both input name {email} and fixed email addresses e.g. admin@example.com.
- Most of the boxes on the Email Setup tab now have default values set (except the To Email box) so are no longer 'required'.
- The Debug information is much fuller.
To use the Email [GH] Action download the attached zip file, open it and copy the email_gh folder to your administrator/components/com_chronoforms/form_actions folder. In the Form Wizard drag an Email [GH] Action to the On Submit event. Please get the action here Bob Notes: - This was developed with Joomla! 1.5 and may not work correctly with Joomla! 1.6; if you have problems let me know and I'll create a second version.
- I've tested most functions but the number of possible combinations means that there may still be bugs; please treat as beta code and report any problems you find.
- This action should work alongside the standard Email action if necessary.
-

GreyHead
- Administrator

-
- Posts: 31975
- Joined: Tue May 29, 2007 10:15 pm
- Location: Brittany
by Tonop » Thu Apr 28, 2011 8:46 am
Hi Bob! Thank you for your work! I have installed the Email Action, but it does attach the file. And also it does not send the email to submitter (dynmic email) just to me (static email). I am using Chronoforms_J1.6_V4_RC1.8.zip. I attached the screenshots to see my settings. If you have any suggestions - you are welcome!

- emailsettings_cr.png (77.29 KiB) Viewed 15152 times

- emailsettings_dynamic_cr.png (110.39 KiB) Viewed 15153 times

- emailsettings_emailfield_cr.jpg (35.14 KiB) Viewed 15149 times
Boris
-
Tonop
- Fresh Boarder
-
- Posts: 6
- Joined: Mon Apr 18, 2011 4:36 pm
by peacemaker » Mon May 02, 2011 7:02 pm
Hi Bob,
I added the email[gh] action and it allowed me to send attached files after email validation success. However, The email message always sends as one block of text and does not break for new lines. Have you experienced this before?
Regards, Peacemaker
-
peacemaker
- Fresh Boarder
-
- Posts: 10
- Joined: Fri Mar 18, 2011 6:36 am
by GreyHead » Tue May 03, 2011 9:12 am
Hi Tonop,
That looks to me like the standard Email Action and not the Email [GH] action.
Bob
-

GreyHead
- Administrator

-
- Posts: 31975
- Joined: Tue May 29, 2007 10:15 pm
- Location: Brittany
by GreyHead » Tue May 03, 2011 9:16 am
Hi peacemaker, Is that all the text from the Email template? Or just a block of text from a textarea? I think that both Email actions dhould handle these the same way. You can add linebreaks in the template (or HTML if you use an HTML email). If the problem is with textarea code then you may need to pre-process it to replace linebreaks with <br /> tags. There's a PHP nl2br() function that people have used in the past. Bob
-

GreyHead
- Administrator

-
- Posts: 31975
- Joined: Tue May 29, 2007 10:15 pm
- Location: Brittany
Return to ChronoForms v4
Who is online
Users browsing this forum: No registered users and 5 guests
|