Details
-
Story
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
Description
Context:
Many use cases around text fields need to limit the number of characters that end users can add to them. Use cases as First Names, Last Names, Labels and so on, need to be limited to fit some business rules. Also, for long texts, customers may need to add this length validation to avoid very long text fields, as descriptions to be used in commerce pages.
Design Deliverables
Acceptance Criteria
1 - Given a power user,
when adding text fields,
then I must be able to activate the number of characters limitation
2 - Given a power user,
when adding text fields,
then I must be able to limit the number of characters that the user can enter in that field
- This must happen for Text (String) and Long Text fields (Clob)
3 - Given a user,
when filling a custom text field with characters limitation,
then I must be able to identify the number of characthers left I can add in the field
- This must happen for Text (String) and Long Text fields (Clob)
4 - Given a user,
when filling a text field,
then I must not be able to submit entries with fields where the user added more characters than the limit for that field
Definition of Done (DoD):
- All Acceptance Criteria were passed;
- Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
- Validated by QA and Product Manager;
- No critical bug related to Story scope (FP5);
- Make sure that all system documentation were updated (if necessary)
Ticket Updates
- The characters limit is going to be logic, not physical (database);
- In case the user disables and enables the switch, the input value will return to its default value;
- The characters limit can be changed after object's publication, therefore, if this limit is decreased after entries have been created, those same entries won't be able to be edited unless their values are in compliance with the new limit;
- The user won't be able to effectively type values outside the allowed range;
- Blank spaces will be counted during entry validation.
Attachments
Issue Links
- causes
-
LPS-151024 It's possible to add texts and long texts longer than the max limit when using the endpoint
- Closed
-
LPS-152387 Error when trying to create a Object Field via API: The settings showCounter are required for object field
- Closed
- depends on
-
LPS-143065 As an objects admin, I want to be able to allow my users to upload files in object entries scoped by entry
-
- Closed
-
- is a dependency of
-
LPS-150019 Populate existing object text and long text fields new settings related to max length
- Open
-
LPS-150499 Integration Tests for story LPS-146889
-
- Closed
-
-
LPS-150774 Remove Feature Flag for LPS-146889 - As a power user, I want to limit the number of characters of text and long text fields
-
- Closed
-
- is related to
-
LPS-149044 Investigate the BE needs for limiting the number of characters on Text and Rich Text fields
-
- Closed
-
-
LRDOCS-10279 Set the max limit of characters of object's text and long text fields
-
- Closed
-
- relates
-
LPS-151667 As a structure creator, I want to limit the number of characthers of text fields in my structure
-
- Open
-
-
LPS-53197 Add the ability to limit the max character count by field in a web content structure
-
- Under Review
-
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...