Pages:
Actions
  • #1 by mikethebet on 14 Aug 2020
  • I am sure a while ago I found two helpful tricks for displaying text or number using [  ].

    For example [sel_name] has one that separated selections names, so that, instead of [sel_name] giving ChaseTheDollar, it returned Chase The Dollar.

    The other was with numbers, when using [ ] to display a calculated variable instead of diplaying £126.20000000 it would display £126.20.

    Nagging in my brain that these exist but I cannot find them.

    Cheers
    Mike
  • #2 by MarkV on 14 Aug 2020
  • Hi
    For the text use quotes ["sel_name"]

    Not so sure about displaying two decimal places, you can remove the decimal fraction part using [INTEGER(expression)]. If it is for email output you could probably use a javascript function in the html.
  • #3 by mikethebet on 14 Aug 2020
  • Hi
    Excellent doing my head in I thought brackets and all sorts.
    Will try something with the e-mail html
    Cheers
  • #4 by Oxa (WellDoneSoft) on 15 Aug 2020
  • You can actually add HTML to your email text, use the latest version of MF Pro which supports it.

    We are working on letting everybody adjust their email templates for trigger alerts and account statement reports.
  • #5 by mikethebet on 15 Aug 2020
  • That will be cool.
    I use HTML code to send my e-mail trigger messages.
    Sends my selection, result, profit loss, running profit loss depending on which trigger was used in a table format.
    Mike
Pages:
Actions