Reputation: 8484
I'm using Chronoform to manage my forms in my Joomla website, and I'm trying to send my POST datas to an external php file.
For now, chronoform uses form datas to send some emails and then execute a "custom code" to do some php stuff. Maintaining this custom code is really tedious, as I have to go through the admin panel for each modification.
I thought about writing a simple include
inside my custom code, but is there a cleaner way to do so ?
Upvotes: 1
Views: 439
Reputation: 230
You can include your custom code into a Custom Code action in the form and maintain it using an FTP enabled editor (I use Sublime Text 3). Please see this ChronoForms FAQ for more information.
Depending on what the external PHP file needs you can use the cURL action or write custom code to send the data to it.
Upvotes: 1