I want to show rich text label after template upload
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2025 05:03 AM
Hi ,
I have one form where need to upload template and that template has factory id column so if factory id does not exist it should show factory id not found and that part is working correctly , i have done that using script include and that is not client callable , now one more requirement is if factory id not found then it should show message to user please click here to raise request and here word should link to other catalog item .
so what I did is I created rich text label and there I have inserted the catalog item link and i was trying to achieve this with on change of upload button if validation error.includes ('Factory not found') then show rich text label but that is not working as expected it's working second time when i am uploading template again because that time validation errors loaded but that should not be the case and same reuirement if factory is not linked to company. only label will change
please let me know if anyone has worked on similar requirement . please find the sample code for reference
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2025 07:27 AM
@Dipali_Pawar Can you share the code written on Change?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2025 12:42 AM
Hi @RaghavSh , please find below code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2025 02:52 AM
I believe anything called from client script should be client callable.
is there a way you can share full code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2025 03:00 AM
But my script include is not a client callable that is the issue. I am trying with display BR but that also not working
