Details
-
Story
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
Forms_7.4_19, Forms_7.4_20
Description
Design Deliverable
Context:
In order to be able to use forms to gather data for Liferay Objects, we need to add a new field type in the form builder, the boolean field type. Boolean fields are necessary for binary answers, as true or false, enable or able, and so on. Many use cases will use this new field type, as status of a products (available and not available), services (active or inactive), and other true or false data types.
Acceptance Criteria
1 - Given an user in forms,
when creating a form,
then I must be able to add a boolean field type
- This field should only be available in the form builder for now
2 - Given a form creator,
when adding a boolean field type,
then I must be able to define the following configurations
- Label
- Required
- Help text
- Show as a switcher
- FieldReference
- Predefined value
- Searchable (on/off)
3 - Given an user in forms,
when creating a rule,
then I must be able to only add the condition ''is equal to'' for boolean field types
Definition of Done (DoD):
- All Acceptance Criteria were passed;
- Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
- Code with peer review completed;
- Validated by QA, Product Designer and/or PM;
- No critical bug related to Story scope (ex.: similar of FP4, FP5);
- Make sure that all system documentation were updated (if necessary)
Make sure that it has the extensions points needed to allow GS and customers to customize the feature (If applicable)
Attachments
Issue Links
- causes
-
LPS-138301 Form Entries is not working correctly with boolean field type
- Closed
-
LPS-138304 Label text on the boolean field is overlapping the form builder elements when the show as a switcher property enabled
- Closed
-
LPS-138341 The boolean field with 'Show as a Switcher' enabled is overlapping the field group area when the field group is set to Collapsible
- Closed
-
LPS-138357 The answer in boolean fields are not shown on Form Entries when using the repeatable fields group
- Closed
-
LPS-138365 Boolean field pie chart results legend is not using the first letter capital
- Closed
-
LPS-139170 The boolean field values are not counting as one in form entries (Summary) when form has translations
- Closed
- depends on
-
LPS-137076 Assess the impact of reusing/modifying the existing Checkbox field
-
- Closed
-
- is a dependency of
-
LPS-136456 Integrate Forms with Liferay Objects - Part II
-
- Closed
-
- relates
-
LRDOCS-9674 As a form creator, I want to add a boolean field in my form
-
- Closed
-