Skip to content

Conversation

@sumanth1710
Copy link

PR Description:

Script Type

Client Script — onLoad()

Description

This script adds visual decorations (icons) to specific fields when a form is loaded.
Decorations help highlight or draw attention to important fields for end users.

Functionality

Adds a blue star icon next to the Caller field with a tooltip labeled “Mark as Favorite”.

Adds a yellow lightbulb icon next to the Category field with a tooltip labeled “icon-lightbulb” (can be customized).

Adds visual decorations (icons and colors) to key fields on the Incident form to enhance user visibility and form usability.
Specifically:

Adds a blue star icon to the Caller field to highlight important contact information.

Adds a yellow lightbulb icon to the Category field to indicate classification details.

This onLoad client script improves UI clarity and user experience when viewing or editing incidents.
Create Add Field Decorations On Incident
Adds visual decorations (icons and colors) to key fields on the Incident form to enhance user visibility and form usability.
Specifically:

Adds a blue star icon to the Caller field to highlight important contact information.

Adds a yellow lightbulb icon to the Category field to indicate classification details.

This onLoad client script improves UI clarity and user experience when viewing or editing incidents.
@github-actions
Copy link

Thank you for your contribution. However, it doesn't comply with our contributing guidelines.

As a reminder, the general requirements (as outlined in the CONTRIBUTING.md file) are the following: follow the folder+subfolder guidelines and include a README.md file explaining what the code snippet does.

Validation errors:

Folder structure violations found:
 - Move 'Client-Side Components/Client Scripts/Add Field Decorations On Incident' under a valid folder hierarchy (Category/Subcategory/Use-Case/your-file). Files directly inside 'Client-Side Components' or its subcategories are not allowed.

Review your contribution against the guidelines and make the necessary adjustments. Closing this for now. Once you make additional changes, feel free to re-open this Pull Request or create a new one.

@github-actions github-actions bot closed this Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant