{"repo":"Log1x/sage-html-forms","free":true,"listed":false,"github":"https://github.com/Log1x/sage-html-forms","clone":"git clone https://github.com/Log1x/sage-html-forms.git","description":"Create forms using HTMLForms.io and Sage 10 Blade components","language":"PHP","stars":56,"topics":["wordpress","sage10","htmlforms","blade"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Sage HTML Forms This is a simple package for the HTML Forms plugin that allows you to easily render forms using a corresponding Blade view (if one is present) with Sage 10. A few additional opinionated tweaks include: - Moving the HTML Forms admin menu item to the Options submenu. - Hide the ads shown in the sidebar of the admin page. Requirements - Sage = 10.0 - HTML Forms - PHP = 7.3 - Composer Installation Install via Composer: Usage Getting Started Start by creating a form in the HTML Forms admin menu page if you do not already have one. You can leave the \"Form code\" blank as it will not be used if a corresponding Blade view exists. Creating a View Once your form is created, simply generate a view using the slug assigned to your form: You will find the generated form view in resources/views/forms/contact-us.blade.php containing a simple form component: When HTML Forms processes \"Form Actions\" – it simply fetches each input name to create the usable variables. That being said, the default view would provide [name] and [emailAddress] . Error Messages Outside of defining your error messages on the options page, you can optionally provide them to the component directly: Prevent moving Dashboard menu item By default the HTML Forms menu items is moved to the Options submenu. Prevent that by using the hf hide admin menu hook: Bug Reports If you discover a bug in Sage HTML Forms, please open an issue. Contributing Contributing whether it be through PRs, reporting an issue, or sug","default_branch":null,"files":null,"tree":[],"storefront":"/r/Log1x","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Log1x/sage-html-forms/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}