1. Go to this page and download the library: Download axis80/quickform library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
axis80 / quickform example snippets
use QuickForm\QuickForm;
/* Path to composer autoload.php. You may need to adjust this path */
[email protected]'
],
'from' => '[email protected]',
'replyto' => '[email protected]', // optional
'replytoField' => 'email', // optional - gets the reply-to address from a formfield (which you should set as ebug' => 0,
'isSmtp' => true,
'host' => 'smtp.example.com',
'smtpAuth' => true,
'username' => '[email protected]',
'password' => '<SMTP User Password Goes Here>',
'smtpSecure' => 'tls',
'port' => 587
],
// ReCAPTCHA v2 settings
'reCaptchaV2' => [
'enabled' => true,
'siteKey' => '',
'secretKey' => '',
'wrapperClass' => ''
],
// Field definitions
'fields' => [
'name' => [
'type' => 'text',
'umber',
'helpClass' => 'form-text text-muted'
],
'pizza' => [
'type' => 'radio',
't intercepts and processes form POST submissions */
$qf->formPostHandler();
$qf->renderForm();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.