Changelog 3B Forms v4.8: Difference between revisions
Jump to navigation
Jump to search
(Created page with "====== New Features ====== # Multiple File Uploads #* Description: Users can now submit multiple files if the "Allow multiple files" checkbox is checked in the builder settings. #* Impact: Enhances file management flexibility and user experience. # Dependent Picklist Filtering #* Description: Automatically filters options in one picklist based on selections made in its controlling field. #* Impact: Streamlines user interaction and improves data consistency. # Automatic...") |
(No difference)
|
Revision as of 09:26, 1 December 2023
New Features
- Multiple File Uploads
- Description: Users can now submit multiple files if the "Allow multiple files" checkbox is checked in the builder settings.
- Impact: Enhances file management flexibility and user experience.
- Dependent Picklist Filtering
- Description: Automatically filters options in one picklist based on selections made in its controlling field.
- Impact: Streamlines user interaction and improves data consistency.
- Automatic Field Inclusion for Dependent Fields
- Description: Automatically adds controlling fields if a dependent field is added without them. Applies to chained dependencies.
- Impact: Simplifies form creation and ensures data integrity.
- Cascade Deletion of Dependent Fields
- Description: Deleting a controlling field will now automatically remove any dependent fields in the same scope.
- Impact: Prevents orphaned fields and maintains form consistency.
- Introduction of Simple Panels
- Description: Implementation of non-mapped panels to organize forms into logical entities.
- Impact: Improves form organization and user navigation.
- Field Name Update on Title Change
- Description: Implemented a function to update field names corresponding to title changes, especially relevant for Salesforce fields.
- Impact: Ensures field names are always relevant and updated.
- Field Validators and `validateField()` Function
- Description: Added field validators and registered `validateField()` function to Survey.FunctionFactory for field-level error handling.
- Impact: Enhances form accuracy and user feedback on errors.
- Pull Request Template
- Description: Added `pull_request_template.md` to format future PRs efficiently.
- Impact: Streamlines PR process and improves documentation quality.
Bug Fixes
- Dynamic Panel Error Handling
- Description: Errors in dynamic panels with no field-mapped errors are now displayed correctly above the panel.
- Impact: Improves error visibility and user understanding.
- Panel-Level Error Display
- Description: Resolved the issue of panel-level errors not being displayed. Implemented survey.onValueChanged event for error clearance.
- Impact: Enhances error handling and user feedback.
- Form Initialization Bug Fix
- Description: Fixed a bug where the form editor broke on initial load during import/export due to invalid JSON context.
- Impact: Ensures smooth form initialization and reliability.
- Dropdown Options Display Fix
- Description: Fixed the issue of long text in dropdowns being clipped. Implemented CSS rule for full text display.
- Impact: Enhances clarity and usability of dropdowns.
- SVG Display in Forms Complete App
- Description: Resolved the issue of SVGs not loading in the Forms Complete app.
- Impact: Fixes UI problems, ensuring proper display of SVGs.
- Custom Styles Application Fix
- Description: Fixed the issue where custom styles were not being applied due to being attached directly to the document's head. Changed implementation to allow style application in the shadow root.
- Impact: Ensures custom styles are applied correctly, enhancing UI consistency.
- CKEditor Maximize Bug
- Description: Addressed and removed the 'Maximize' option from CKEditor due to crash issues.
- Impact: Prevents editor crashes, improving stability.
- CKEditor Embed Bug Fix
- Description: Enabled the "Source" button and added extra allowed content in CKEditor config to prevent filtering out essential tags.
- Impact: Enhances flexibility and functionality of CKEditor.
- Fix Dropdown Options Abbreviation on Long Text
- Description: Resolved the issue where long text in dropdown options was being abbreviated.
- Impact: Improves the usability of dropdown fields.
- Forms Complete SVG Display Issue
- Description: Fixed a bug where SVGs in the Forms Complete app were not displayed properly.
- Impact: Resolves UI display issues, ensuring correct SVG rendering.
- Fix Custom Styles Issue
- Description: Corrected the application of custom styles, particularly when dealing with elements inside the shadow DOM.
- Impact: Enhances the consistency and effectiveness of custom styling.
- CKEditor Maximize Function Bug
- Description: Addressed a bug in CKEditor's Maximize function that was causing problems.
- Impact: Improves the reliability and functionality of the editor.
- CKEditor Embed Functionality Improvements
- Description: Enhanced CKEditor's embed functionality, including iframe attribute adjustments for better embedding (e.g., YouTube videos).
- Impact: Expands embedding capabilities, improving the overall utility of the editor.
- Fix Dependent Picklists Choices Bug
- Description: Addressed issues with choices in dependent picklists not functioning correctly.
- Impact: Enhances the reliability and functionality of dependent picklists.
- Simple Panel Name Resetting Fix
- Description: Resolved the issue of simple panel names resetting after reselection.
- Impact: Improves the stability and usability of simple panels.
- Fix for Altering Simple Panel Names
- Description: Fixed a bug caused when altering the name of a simple panel.
- Impact: Ensures the stability and accuracy of panel names.
- Fix for Panel and Dependent Picklists Issue
- Description: Addressed issues with panels and dependent picklists not functioning as expected.
- Impact: Enhances the functionality and reliability of panels and picklists.
- Fix for Panels Breaking on Refresh
- Description: Resolved a bug causing panels to change attributes unexpectedly on refresh.
- Impact: Ensures the stability and consistency of panels.
- Automatic Insertion of Controlling Fields
- Description: Fixed an issue where controlling fields of different parent/child objects were not being inserted automatically.
- Impact: Streamlines the form creation process and ensures data integrity.
- Fix for Simple Panel File Attachments
- Description: Addressed a bug related to file attachments in simple panels.
- Impact: Improves file management within simple panels.
- Checkboxes Functionality Improvement
- Description: Resolved an issue with checkboxes (boolean yes/no) not working as expected as controlling fields.
- Impact: Enhances the functionality and reliability of checkbox fields.
Optimizations
- Removed 'Save as PDF' Option
- Description: Hid the misleading 'Save as PDF' option in builder settings due to non-functionality.
- Impact: Clarifies builder options, reducing confusion.
- Revamped Error Handling
- Description: Implemented surveyjs validators for dynamic error handling in forms.
- Impact: Improves error identification and user experience.
Deprecations
- Error Bubbling
- Description: Removed the practice of error bubbling for a more streamlined approach.
- Impact: Ensures more accurate error handling.
- Removal of 'Score' Feature
- Description: 'Score' attribute removed from questions and ItemValues.
- Impact: Streamlines question elements and improves clarity.
Additional Information
- Note in Regards to dependent picklists:
- For Simple Panels, we need to make sure that all controlling and dependent fields are contained within the same Simple Panel for this functionality to work as expected.
- Validator specifications:
- Main scope:
- If there are blame fields:
- If there are form fields that correspond to the salesforce blameFields, highlights them and displays a toast message.
- If there are no form fields that correspond to the salesforce blameFields, only displays a toast message.
- If there are no blame fields, displays a toast message.
- If there are blame fields:
- Panel/Paneldynamic scope:
- If there are blame fields:
- If there are form fields that correspond to the salesforce blameFields, highlights them and displays a toast message.
- If there are no form fields that correspond to the salesforce blameFields, highlights the error on the panel displays a toast message.
- If there are no blame fields, shows the error on the corresponding panel and displays a toast message.
- If there are blame fields:
- Main scope:
- Paneldynamic specifications:
- In a paneldynamic, simple form fields (not panels) are accessed with panel., example: {panel.Name_xxxxx}
- The error message variables of paneldynamic fields are constructed with the panel's index, example: {panel.Name_xxxxx1}, {panel.Name_xxxxx5}, which allows us to display the error next to the proper field.
- Panel specifications:
- To access a field nested in a panel, we don't use panel., however, if there's any paneldynamic wrapping the current panel, anywhere up the structural tree, panel. is used to access the field even for the fields in the panel to match the proper paneldynamic scope.
Important Notes
- This update primarily focuses on enhancing the user interface, file management, and overall system stability.
- Users may experience minor adjustments as new features integrate into the system.
Upgrade Links
- Version 4.8 Install Link: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3X0000032qg2