Add null checks and validation in CustomFormService createForm/updateForm

Fixkamo-shared-library
Shipped
November 29, 2025 at 8:08 PM UTC
Author
snadjafinia
Commit
bc3b876

- Add null/empty checks for fieldId before calling trim().toLowerCase() to prevent NullPointerException - Add comprehensive validation for required fields (fieldType, title, fieldId) with clear error messages - Add field ID format validation in createForm/updateForm methods as double-check - Improve error messages to include field context - Trim title field as well for consistency Fixes issue where form creation fails with NullPointerException when fieldId is null or empty.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing