Fixes#38525
/ok-to-test tags="@tag.Anvil"
https://github.com/user-attachments/assets/891ecf61-2850-46c4-acd3-b170196e5ab7
<!-- This is an auto-generated comment: Cypress test results -->
> [!TIP]
> 🟢🟢🟢 All cypress tests have passed! 🎉🎉🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/12703524629>
> Commit: 64616e2f16ed1884c0e7fd86f511b35801b17b88
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12703524629&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Anvil`
> Spec:
> <hr>Fri, 10 Jan 2025 05:20:43 UTC
<!-- end of auto-generated comment: Cypress test results -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Release Notes
- **New Features**
- Added form validation controls for buttons
- Introduced ability to disable buttons on invalid form
- Added option to reset form on button click
- New context provider for managing widget state in UI builder
- **Improvements**
- Enhanced reCAPTCHA handling with reset functionality
- Updated button click event management
- Improved widget context management
- **Configuration Updates**
- New form settings for button widgets
- Added `useAsForm` configuration for zone widgets
These updates provide more granular control over form interactions and
button behaviors.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->