Record Producer Script Notes - Make Bold

Elizabeth26
Tera Contributor

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?

1 ACCEPTED SOLUTION

Karan Chhabra6
Mega Sage
Mega Sage

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!!

  

View solution in original post

2 REPLIES 2

Karan Chhabra6
Mega Sage
Mega Sage

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!!

  

This worked!!! Thank you so much!