HTML Form Button Does Nothing
A button type, form association or JavaScript handler may not match the intended behavior.
LIKELY CAUSE
Why it happens
Decide whether the form should submit or run local JavaScript.
SAFE FIX
What to do
Use type="button" for client-side tool actions and type="submit" for actual form submission.
Debug in this order
- Reproduce the problem on the smallest sample that still fails.
- Inspect the exact keys, types, ranges or markup involved instead of only the displayed value.
- Fix the root cause, then rerun the original case and one known-good case.
- Document the rule if the same problem can return in recurring work.
Do not hide an unexplained data error with a cosmetic workaround. Make the input and matching logic predictable first.