Contents tagged with Image

  • How to display Green image status

    Hello everybody,

    I want to leave a short note regarding showing successful validation of some operation. Background is the following. Imagine, that you need somehow validate value entered in some checkbox. And in case if validation is successful, you'd like to show green sign near your text entry. I mean something like this:

    How to achieve it?

    1. Create field in DAC or DAC extension similar to shown below:

    public abstract class creditGreenStatus : BqlBool.Field<creditGreenStatus> { }

    [PXUIField(DisplayName = "", Visible = false)]


    [PXDefault(false, PersistingCheck = PXPersistingCheck.Nothing)]

    public bool? CreditGreenStatus { get; set; }

    2. Create markup on the page like … more