Discussions

 View Only
  • 1.  Using List ("\n"...

    Posted 07-21-2021 15:10
    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
    ------------------------------


  • 2.  RE: Using List ("\n"...

    Posted 07-21-2021 15:18
    Have you tried replacing \n with <br>?

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



  • 3.  RE: Using List ("\n"...

    Posted 07-21-2021 16:40
    That was the trick, Chris.  Thx for the assist!

    ------------------------------
    Michael Murphree
    ------------------------------



  • 4.  RE: Using List ("\n"...

    Posted 07-21-2021 17:41
    You bet!

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