|
Adding forms into your documents is an advanced feature that requires both knowledge of HTML and access to a server that will process the data sent via the form. When used with Blink Mailer they are only really useful when making your subscriber forms which will be live on your website.
The form element is a container for all form contents, which means that all form controls (for example checkboxes, text fields, or buttons) must be placed inside it. To insert the form into your document, press the Form toolbar button. The Form Properties dialog window that will open lets you configure basic form settings that control the form's interaction with the server.
Form Properties dialog window in CKEditor
Below is an overview of all Form Properties dialog window elements:
- Name – the name of the form (name attribute).
- Action – the location of the application that processes the form data (action attribute).
- Id – the unique identifier for a form element in the document (id attribute).
- Encoding – the parameter that specifies how the form data should be encoded before sending to the server (enctype attribute).
- Target – the window where the results will be displayed after you send the form to the server (target attribute). You can choose between New Window (_blank), Topmost Window (_top), Same Window (_self), or Parent Window (_parent).
- Method – the way the data should be sent to the server (method attribute). You can choose between GET and POST.
Once you configure the form and click the OK button, the form area will be visible in CKEditor editing area as a frame with a red dotted border.
A form frame visible in the editing area of CKEditor
Since the form element is just a container, to make it usable you need to add some form controls. To do so, place the cursor inside the form frame and use further CKEditor form toolbar buttons.
A form cannot be nested in another form or overlap with it, so you cannot start a new form inside the previous one.
|