Skip to main content
Nintex Community Menu Bar
Question

UI-Only LEN in equalion

  • Jul 10, 2024 6:40 PM UTC
  • 2 replies
  • 29 views
  • Translate All

Forum|alt.badge.img+14

What do I have wrong?

If (   LEN( {{Temp_10_Digits__c}}   )  ==  10
,
“”
,
“The phone length is " & LEN({{Temp_10_Digits__c}}) & " digits, it needs to be 10 digits.” 
) 

This topic has been closed for replies.

2 replies

Forum|alt.badge.img+10

Bill,

I am not exactly sure, but I think the ‘IF’ must be uppercase and I don’t think you can combine the LEN function along with text for the result if false.

I was able to do what you are after by creating a second formula field called ‘PhoneMessage’ that would display the message you want when the value is false.  Here are the formulas for my 2 fields:

PhoneCheck–> Formula field - Text output

IF(LEN({{Phone}})==10,“”,{{PhoneMessage}})

PhoneMessage–> Formula field - Text output

“The phone length is " + LEN({{Phone}}) + " digits, it needs to be 10 digits.”

Thanks,

Bill

Translate

Forum|alt.badge.img+14
  • Author
  • Jul 10, 2024 7:23 PM UTC

Thnak Bill

Translate