- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 03:44 PM
In a record producer script I am using the script to copy what is entered in the record producer fields into the destination table case record.
For example:
I use notes += '\n FieldQuestion: - '+producer.field_name;
This works as expected and copies to the "Notes" section in the record created. However, I have been asked if there is a way to make the FieldQuestion part show up in bold? It's hard to tell the difference between the question and the answer in the notes section.
Also, is there any way in the script to not have the fields copied if the question was entered? For example, if I have a question on the record producer and it is not answered can I have it not copy the notes for that question?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 03:52 PM
Hi @Elizabeth26 ,
Please wrap the 'FieldQuestion:-' inside code block and <b> tag such as this and try again:
var notes = "[code]<b>FieldQuestion:-</b>[/code]" + producer.field_name;
If my answer has helped with your question, please mark it as helpful and accepted solution.
Thanks!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 03:52 PM
Hi @Elizabeth26 ,
Please wrap the 'FieldQuestion:-' inside code block and <b> tag such as this and try again:
var notes = "[code]<b>FieldQuestion:-</b>[/code]" + producer.field_name;
If my answer has helped with your question, please mark it as helpful and accepted solution.
Thanks!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 03:59 PM
This worked!!! Thank you so much!