Add one more element type that stores an array of choices the end user selects. The administrator can define several options that can be selected. The administrator can define whether it's a single choice or a multiple choice field. He can define whether a user will be allowed to select no option at all or if at least one option must be provided. He can define how many choices a user may select at maximum.
I'll add a new "choice" field type that allows administrators to define selectable options for end users.
I've added a new "choice" field type to the schema builder with the following capabilities:
Selection Mode:
Selection Requirements:
Validation:
Field Dialog:
Field Display:
Preview:
The choice field adds these properties to the schema:
options: Array of available choicesmultipleChoice: Boolean indicating if multiple selections are allowedminChoices: Minimum number of selections required (for multiple choice)maxChoices: Maximum number of selections allowed (for multiple choice)This implementation gives administrators complete control over how end users will interact with choice fields in the content forms.
I'll add title and help label properties to each field in the schema builder.
I've updated the schema builder to include title and help label properties for each field. Here's what's been added:
Title: A display-friendly label for the field
Help Label: Contextual guidance for users
Field Dialog:
Field Display:
Preview Panel:
JSON Schema:
Better Separation of Concerns:
Improved User Experience:
This enhancement makes the schema builder more flexible and user-friendly, allowing administrators to provide better guidance to end users who will be filling out forms based on these schemas.