Jump to content

Bolding Field within span and literal text


rrdwitt

Recommended Posts

Hi all. This line is giving me a error. I want to bold the field within the span text.

Thank you very much in advance

 

return "<span>" + RawText("To make your gift via mail, please complete the form below and return it with the envelope provided. You may also visit us at " '<b>'+Field("yourfieldname")+'</b>'; "to give online."); + "</span>";

Link to comment
Share on other sites

Hi all. This line is giving me a error. I want to bold the field within the span text.

Thank you very much in advance

 

return "<span>" + RawText("To make your gift via mail, please complete the form below and return it with the envelope provided. You may also visit us at " '<b>'+Field("yourfieldname")+'</b>'; "to give online."); + "</span>";

 

You might try this instead:

 

return '<span> To make your gift via mail, please complete the form below and return it with the envelope provided. You may also visit us at <b>' + Field("yourfieldname") + '</b> to give online. </span>';

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...