PHP code example of hypejunction / forms_validation

1. Go to this page and download the library: Download hypejunction/forms_validation 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/ */

    

hypejunction / forms_validation example snippets



echo elgg_view_form('my/form', array(
    'validate' => true,
), array());

// or

echo elgg_view('input/form', array(
    'action' => 'action/my/action',
    'validate' => true,
));