Client script to change a value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2023 08:35 AM
Hi everyone,
Can I please get some help with a client script that will change the value of the "short description" to the request_name variable on the portal? I attached a couple screenshots to display what I 'm trying to acheive. (Order guide has the variable request_name that I want to replace the short description on the order guide summary)
I've tried to edit the widget with no luck and was hoping to do this in a client script or script. I'm open to better ideas if anyone has any suggestions.
Thanks so much for any feedback you have!
I believe this should be set as the following:
on change type
sc_cat_item table
field name: short description
script I tried with no luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 09:34 AM
Hi @sombir5
Sorry to report this also did not work. I tried catalog item blank and added the catalog item, both gave the same results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 12:08 AM
Hi @Gemma4
You have to attach the catalog item on the catalog client script.
Fill the details on the form.
Submit it and see the request at backend, short description must be populate with the value of requester name