Skip to content

SameeraMurthy/reformjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ReformJS

Ajaxify the HTML form with Reform.js in ease.

With Reform.js, you don't have to worry about creating Ajax calls for HTML forms.


Installation

Include the CDN in the head section of your HTML:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js" defer></script>
<script src="https://cdn.jsdelivr.net/gh/SameeraMurthy/reformjs@latest/dist/reform.min.js" defer></script>

Usage

In your HTML:

<form action="/endpoint" method="GET" data-reform="">
    <input type="text" name="name" required/>
    <button type="submit">Go</button>
</form>