02-14-2014 07:26 AM
Mayby im missing something very obvious here, but why is required not working for this picklist ...
Its set as required entry, text must match item etc in the lan client ....and shows the same in the web administrator.
Its also set to required on the Quickform designer
is there anything else other than shouting at it that i should be doing to make it prompt as required when its empty ?
This is SLX 8.0 web with Core update 05 and model update 04 plus all SNC hotfixes.
Thanks,
Jon
02-18-2014 08:40 AM
The "required" setting seems to be getting ignored in the dialog.
This code will show an alert. Sorry I don't have code at hand to display the nice CSS "required fields" validation.
Sage.Entity.Interfaces.IOpportunity opportunity = BindingSource.Current as Sage.Entity.Interfaces.IOpportunity; if(opportunity.Reason == null) { throw new Sage.Platform.Application.ValidationError("Reason Won is required."); }
02-18-2014 09:03 AM
Is the cmdOK button registered as a save button?
ClientBindingMgr.RegisterSaveButton(cmdOK);
This should be automatically generated. If you customized the form this may have gotten lost.
02-18-2014 09:09 AM