1<form action="/checkbox-example" method="POST">
2 @csrf
3 <label>Your Name</label>
4 <input type="text" name="name"/><br/><br/>
5 <input type="checkbox" name="terms">
6 <label>Do you agree to Terms & Conditions</label><br/><br/>
7 <button type="submit">Submit</button>
8 </form>