How to set Script include return value to bold text
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2024 08:19 AM
Hi team,
I copied list collector variable values to String variable
My question is how to set bold text in script include
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 03:09 AM
Hi @AnilM99 ,
Did you get a chance to go through my response ?
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2024 10:29 AM
Hello @AnilM99 ,
Could you please try below code,
arry += [code]<strong>User email:</strong>[/code] + gr.email + ", " ;
arry += [code]<strong>Phone_number: </strong>[/code] + gr.phone_number+", " ;
Please check and Mark Helpful and Correct if it really helps you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2024 11:46 AM
Hi @AnilM99 , please try:
var arry = [];
var email = "User email: ";
var phoneNumber = "Phone Number: ";
var emailBold = email.bold();
var phoneNumberBold = phoneNumber.bold();
//and then
arry += emailBold + gr.email + ", " ;
arry += phoneNumberBold + gr.phone_number+", " ;
Hope it helps you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 03:04 AM - edited 02-08-2024 03:04 AM
@AnilM99, if you cant accomplish this even with the code above, could you tell us which field you are trying to populate with the bold values?