Changing Field label using setLabelOf() based on other field value not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2025 04:53 AM - edited 01-29-2025 08:18 AM
Hi Everyone,
Issue: setLabelOf() is not changing the field label dynamically on catalog item form.
I have below requirement to change the Field Label on below condition.
On the catalog item I need to change the "Additional Notes" field to read as "LSR Remarks", and make it as mandatory. When Request type field has vale "Porting orders".
For all other request types it should remain the same as previous, optional Additional Notes.
I tried below Onchange script on catalog item (variable name --> request_type) --> Field is set to mandatory when newValue === 'Porting orders' but not Changing the label.
how can I fix this?
Thanks in advance!