{{ demoContent.c1 }}
{{ demoContent.c2 }}
Important Note:
When using FormGuardJS, the library automatically handles the form validation and submission process, including preventing the default form submission behavior. However, when you define a custom onSubmit
handler, you must manually call event.preventDefault()
to prevent the default submission behavior and ensure your custom logic (e.g., using fetch
to send data to an API) is executed correctly.
{{ demoContent.c8 }}