Is it possible to default check boxes as checked? For example, in the Kit Specification (ScreenId=IN209500) the Allow Component Addition box and the Allow Component Qty Variance boxes default as unchecked. My client always has to check these. I want to make them default to checked. I’m guessing this is going to require a customization but was hoping otherwise. What would that customization look like?
How to make a check box default to checked?
Hi
public class INKitSpecMaint_Extension : PXGraphExtension<INKitSpecMaint>
{
#region Event Handlers
[PXMergeAttributes(Method = MergeMethod.Merge)]
[PXDefault(true,PersistingCheck =PXPersistingCheck.Nothing)]
protected virtual void INKitSpecHdr_AllowCompAddition_CacheAttached(PXCache cache)
{
}
#endregion
}
Userlevel 1
Thanks Naveen
Userlevel 1
Thank you, Naveen, that seems to work fine in my test environment for Allow Component Addition. Is it possible to make the Allow Component Qty Variance box to default to checked when adding a new row on the same page? Thanks.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.