Forum Discussion

MichaelMurphree's avatar
MichaelMurphree
Qrew Member
4 years ago

Using List ("\n"...

I have enable custom rules for one of my tables.  The formulas looks like...

var Text MinImpl = If([Impl]<5000,"Minimum implementation fee is $5,000. Please enter an implementation of $5,000 or greater.");
var Text MinMRV = If([MRV]<500,"Minimum monthly billing is $500. Please enter a higher PEPM or a Flat Monthly Fee of $500 or more.");
var Text ReasonCode = If([Stage] = "Stalled" or [Stage] = "Lost/Closed" and [Loss/Stalled Reason]="","If an opportunity is lost or stalled, you must enter a reason code. Please update the Loss/Stalled Reason field.");
List ("\n",$MinImpl, $MinMRV, $ReasonCode)

The result is returning the error message in one long string...


I want each error to apear on a separate line.  What am I missing?

------------------------------
Michael Murphree
------------------------------
  • Have you tried replacing \n with <br>?

    ------------------------------
    Chris Wheatley
    ------------------------------
    • MichaelMurphree's avatar
      MichaelMurphree
      Qrew Member
      That was the trick, Chris.  Thx for the assist!

      ------------------------------
      Michael Murphree
      ------------------------------
      • ChristopherWhe1's avatar
        ChristopherWhe1
        Qrew Member
        You bet!

        ------------------------------
        Chris Wheatley
        ------------------------------