How do I create a label field that shows a warning or not?

I have an API that returns true or false based on if the id is associated with a course that has been billed.  I needed to create a API, because the billed value is in a  parent module.

How do a create a custom field that is a label that displays a warning message based on a true value?

Thank you

Parents
  • What about having e checkox field for the true and false value of "billed"?

    Then you could create a message text field which is calculated and dependent.

    The formula for the calculated value of the text could be: ifElse($billed_c,"BILLED","")

    The dependency formula for visibility could be: $billed_c

    Now if the billed flag is set the textfield will be shown with the text BILLED.

    Everything can be done in Studio resp. Modulebuilder

    Harald Kuske
    Principal Solution Architect – Professional Services, EMEA
    hkuske@sugarcrm.com
    SugarCRM Deutschland GmbH

Reply
  • What about having e checkox field for the true and false value of "billed"?

    Then you could create a message text field which is calculated and dependent.

    The formula for the calculated value of the text could be: ifElse($billed_c,"BILLED","")

    The dependency formula for visibility could be: $billed_c

    Now if the billed flag is set the textfield will be shown with the text BILLED.

    Everything can be done in Studio resp. Modulebuilder

    Harald Kuske
    Principal Solution Architect – Professional Services, EMEA
    hkuske@sugarcrm.com
    SugarCRM Deutschland GmbH

Children