Skip to main content

Dear Team,

I have created a custom field with TimeList type. The purpose of this field is to enter Hour:Minute (HH:MM)

       #region UsrTimeIn
       /PXDBInt]
       nPXTimeList]
       XPXUIField(DisplayName = "Time in")]  
       public virtual int? UsrTimeIn { get; set; }
       public abstract class usrTimeIn : PX.Data.BQL.BqlInt.Field<usrTimeIn> { }
       #endregion

The result of Customization was being able to select HH:MM in the available TimeList.

 

 

But when entering HH:MM manually (for example: 10:25), it cannot be done.

 

Please help me the solution !

 

Best Regards,

NNT

 

@nhatnghetinh  Can you please change the PXTIMELIST attribute like below and verify?

 

gPXTimeList(5, 12)]


@nhatnghetinh In aspx for Time In field

Give property InputMask="hh:mm"


Reply