PHP code example of log1x / sage-html-forms
1. Go to this page and download the library: Download log1x/sage-html-forms 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/ */
log1x / sage-html-forms example snippets
<x-html-forms :form="$form" class="my-form">
<input
name="name"
type="text"
placeholder="Full Name"
type="submit"
value="Submit"
/>
</x-html-forms>
<x-html-forms
:form="$form"
:messages="['success' => 'Thank you!', 'error' => 'Yikes! Try again.']"
class="my-form"
/>
add_filter('hf_hide_admin_menu', '__return_false');