PHP code example of mate-code / animated-label-form
1. Go to this page and download the library: Download mate-code/animated-label-form 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/ */
mate-code / animated-label-form example snippets
use yii\bootstrap\ActiveForm;
$form = ActiveForm::begin([
"options" => ["class" => "animated-label"],
"fieldConfig" => ["template" => "{input}\n{label}\n{hint}\n{error}"],
]);
"mate-code/animated-label-form": "~1.0"