=== Formelya ===
Contributors: syntia88
Tags: form, questionnaire, survey, onboarding, conditional logic
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.10
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create and manage professional questionnaires directly from your website.

== Description ==

Formelya lets you create, publish, and manage professional questionnaires directly from your website, without relying on an external service for its core functionality.

Create as many questionnaires as you need and manage their responses directly from your WordPress administration area.

= Questionnaire creation =

* Create an unlimited number of questionnaires.
* Built-in questionnaire builder in the administration area.
* Start from a blank questionnaire or use predefined templates.
* Create multi-step questionnaires using sections.
* Apply conditional logic based on previous answers.
* Reorder questions with drag and drop.
* Configure required fields.
* Quickly duplicate an existing questionnaire.

= Field types =

* Short text.
* Long text.
* Email.
* Phone.
* Number.
* Date.
* Single choice.
* Multiple choice.
* Dropdown list.
* Rating from 0 to 10.
* File or photo.
* New step / section.

= Sharing and responses =

* Public link for each published questionnaire.
* Shortcode `[formelya id="123"]`.
* Secure personal links with a unique token.
* Save and resume questionnaires in progress.
* Lock responses after final submission.
* Response tracking dashboard.
* Detailed view of each response.
* Secure download of submitted files.

= Notifications =

* Email notification when a questionnaire is completed.
* Optional confirmation email sent to the respondent when an email address is available.

= Customization =

* Customizable displayed brand name.
* Primary color.
* Background color.
* Card color.
* Text color.
* Custom success message.
* Optional progress indicator.
* Optional Formelya branding.

= Data and exports =

* CSV export of completed responses.
* Protection against CSV formula injection.
* Export and erasure of personal data through the WordPress privacy tools.

== Installation ==

1. Install Formelya from your WordPress administration area or upload the `formelya` folder to `/wp-content/plugins/`.
2. Activate the plugin.
3. Open Formelya > Questionnaires.
4. Create a questionnaire or choose a template.
5. Configure the questions and options you need.
6. Publish the questionnaire, then share its link or use its shortcode.

== Frequently Asked Questions ==

= Can I create multiple questionnaires for free? =

Yes. Formelya lets you create and manage as many questionnaires as you need.

= Are responses stored on my website? =

Yes. Questionnaires and responses are stored in your WordPress database. Uploaded files are stored in a dedicated private directory within your WordPress installation.

= Does Formelya use an external service to store responses? =

No. Formelya's core functionality and questionnaire storage do not require an external service.

= Can I embed a questionnaire on a page? =

Yes. Each questionnaire includes a shortcode in the form `[formelya id="123"]`.

= Can participants resume a questionnaire later? =

Yes. Secure personal links allow respondents to save their progress and return later using the same link.

= Can users upload files? =

Yes. Formelya supports JPG, PNG, WEBP, PDF, DOC, and DOCX files, subject to the upload size limit configured by the administrator.

== Privacy ==

Formelya may store data voluntarily provided by people who complete a questionnaire, including:

* email address;
* questionnaire answers;
* uploaded files;
* creation, modification, and completion dates;
* a secure technical identifier used to resume a questionnaire.

Data is stored in the WordPress database and file storage of the website where Formelya is installed.

When the administrator enters privacy text in the Formelya settings, a required consent checkbox is displayed in the questionnaire.

Formelya integrates with the WordPress personal data export and erasure tools.

Formelya data can be removed during plugin uninstallation only when the administrator explicitly enables the corresponding option.

== Screenshots ==

1. Questionnaire management with response counts, shortcode and quick actions.
2. Questionnaire editor with drag-and-drop fields and customization options.
3. Ready-to-use questionnaire templates for onboarding, satisfaction, applications and audits.
4. Public multi-step questionnaire experience with progress tracking.
5. Response management and secure personal questionnaire links.
6. Detailed view of a completed questionnaire response.
7. Formelya settings for branding, appearance and email notifications.

== Changelog ==

= 1.0.10 =
* First public release prepared for the WordPress.org plugin directory.
* Unlimited questionnaire creation.
* Questionnaire duplication.
* Multi-step questionnaire creation.
* Conditional logic and customizable fields.
* Built-in questionnaire templates.
* Save and resume using secure personal links.
* Response management and private file handling.
* Email notifications.
* Secure CSV export.
* Integration with WordPress privacy tools.
* Optional data and file cleanup during uninstallation.
* Internationalized interface.
* Improved security for database queries, data handling, and files.
