opnform-host-nginx/api/tests/Feature/Forms
Chirag Chhatrala 7b942997ce
Hidden field can never be required. Skip that validation (#716)
* Hidden field can never be required. Skip that validation

* Refactor form logic editor UI with improved text and styling

- Replace UAlert with plain text description
- Update action description text
- Remove help text from select input
- Simplify note about hidden field requirements

* Add test for form logic field visibility and validation

- Implement test case for fields hidden by logic conditions
- Update AnswerFormRequest to use new FormLogicPropertyResolver method for hidden field check
- Ensure required fields are skipped when hidden by form logic

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2025-03-12 14:47:06 +08:00
..
AnswerFormTest.php Refactor FormSubmissionDataFactory to use TestHelpers trait 2025-03-04 13:38:33 +08:00
CleanDatabaseTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
CreateDynamicSelectOptionTest.php Refactor FormSubmissionDataFactory to use TestHelpers trait 2025-03-04 13:38:33 +08:00
CustomSmtpTest.php Refactor FormSubmissionDataFactory to use TestHelpers trait 2025-03-04 13:38:33 +08:00
EmailNotificationTest.php Refactor FormSubmissionDataFactory to use TestHelpers trait 2025-03-04 13:38:33 +08:00
FormCaptchaTest.php Add reCAPTCHA support and update captcha provider handling (#647) 2024-12-18 16:35:09 +01:00
FormIntegrationEventTest.php Apply Mentions everywhere (#595) 2024-10-22 10:34:29 +02:00
FormIntegrationTest.php Apply Mentions everywhere (#595) 2024-10-22 10:34:29 +02:00
FormLogicTest.php Hidden field can never be required. Skip that validation (#716) 2025-03-12 14:47:06 +08:00
FormPasswordTest.php Refactor FormSubmissionDataFactory to use TestHelpers trait 2025-03-04 13:38:33 +08:00
FormPropertyLogicTest.php Improve form property logic validation for checkbox conditions 2025-02-19 15:11:27 +01:00
FormStatTest.php Fix tests 2024-09-30 16:47:10 +02:00
FormSubmissionExportTest.php Refactor FormSubmissionDataFactory to use TestHelpers trait 2025-03-04 13:38:33 +08:00
FormSubmissionProcessorTest.php Fix redirect URL mentions (#707) 2025-02-24 16:11:30 +08:00
FormTest.php Form editor v2 (#579) 2024-09-23 20:02:38 +02:00
FormUpdateTest.php Refactor FormSubmissionDataFactory to use TestHelpers trait 2025-03-04 13:38:33 +08:00
FormViewsTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
HideBrandingOnUpgradeTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
MatrixInputTest.php Refactor FormSubmissionDataFactory to use TestHelpers trait 2025-03-04 13:38:33 +08:00
RedirectUrlLengthTest.php Enhance redirect URL handling and MentionParser functionality (#639) 2024-12-10 12:26:01 +01:00
UpdateWorkspaceSelectOptionJobTest.php Refactor FormSubmissionDataFactory to use TestHelpers trait 2025-03-04 13:38:33 +08:00