What is Area Form in VIEW?

Fredolino 1d ago

Hi,

In CF7 there was a "Form" option under Areas.

Where can I find it in CF8?

I want to submit a form from a page as an AJAX form to a custom Joomla plugin:

(index.php?option=com_ajax&plugin=mtb_import&format=json&token=5h5P....)

This form contains fields, a file, and a submit button that imports the CSV file using JavaScript:

jQuery(function ($) {

var $form = $('#csv_upload_form');

var $file = $('#csv_file');

var $btn = $('#btn_upload');

var ajaxUrl = 'index.php?option=com_ajax&plugin=mtb_import&format=json&token=5h5P.....';

The page also contains other fields in the view, but these should not be included in the submission.

Do I need to create a separate page specifically for this form? Do I just need to configure it as an AJAX form in the page settings? Or how does that work in CF8?

F.

Post a Reply