michaela
Scout

Mixed formatting with a Calculated Value

Jump to solution

By way of example, let's say I have the following three Single Line Text fields on a form:

  • firstName
  • lastName
  • jobTitle

and my Calculated Value, which is used for previewing purposes, uses the following formula:

firstName + " " + lastName + ", " + jobTitle

The displayed result would be something like this:

John Doe, Manager

But I'd like to have the just the name appear in bold, as follows:

John Doe, Manager

When applying a format to a Calculated Value, it applies to the entire field which is not ideal. Rich Text controls, on the other hand, allow for mixed formatting, however, they do not support Named Controls as references (only Item Properties).

Can this be achieved?

BTW I'm using Nintex Forms 2016 (v4.2.2.0).

0 Kudos
Reply
2 Replies
emha
Collaborator

Re: Mixed formatting with a Calculated Value

Jump to solution

try formula like

"<strong>" + firstName + " " + lastName + "</strong>, " + jobTitle‍

‌ part of string‌

Reply
michaela
Scout

Re: Mixed formatting with a Calculated Value

Jump to solution

That worked a treat, thank you!

0 Kudos
Reply