diff --git a/README.md b/README.md index edc6187..33710a6 100644 --- a/README.md +++ b/README.md @@ -159,7 +159,9 @@ dialog1 = new HtmxForms.Dialog({ dialog1.open() ``` -![image](./etc/screenshots/static_dialog.png) +![a static dialog](./etc/screenshots/static_dialog.png) + +A static dialog ### A dynamic Dialog @@ -408,6 +410,10 @@ when a form is detected in the content downloaded from the server. It keeps refreshing the modal after each submission while validation errors are detected, and dismisses it only when the form validation finally succeedes. +![form submission and validation](./etc/screenshots/form_submission_and_validation.png) + +Form submission and validation + ## Implementation If you're curious, here below is a detailed explanation of how all this is achieved. diff --git a/etc/screenshots/form_submission_and_validation.png b/etc/screenshots/form_submission_and_validation.png new file mode 100644 index 0000000..1c54264 Binary files /dev/null and b/etc/screenshots/form_submission_and_validation.png differ