PHP code example of osoobe / wtforms
1. Go to this page and download the library: Download osoobe/wtforms 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/ */
osoobe / wtforms example snippets
use WTForms\Form;
use WTForms\Fields\StringField;
class AddressForm extends Form{
function setUp(){
$this->_fields = [
"street" => (new Fields\StringField("Street")),
"town" => (new Fields\StringField("Town/District"))->