How do i create a message box alerting a user of missing data in a SharePoint list form?
I created a custom list form in SPD that's attached to a list. All the fields in the list are required and won't submit without them filled out. However, SharePoint doesn't do a good job of letting the user know this. It won't let them submit the form and shows red "missing data" text by the missing fields but again, it's a lengthy form and the users are assuming their reports are being submitted anyway when they hit OK. The problem here is they don't see the "missing data" text. An alert would be much better.
Public Comments
- Sharepoint does this intentionally. You'll note that although the document is uploaded, only the user can see it - ostensibly so they can change it later on. The solution to your problem depends a lot on how the user uploaded the document. If they just used the browser, or a third-party app, then you are out of luck. But if you are in control of the design of an application that uploads to sharepoint, then you can simply find out all of the required fields, and be sure they have a value in them. It turns out this is the only method to validate each of the fields with business logic. For example, you might have a date field, but if you require that only week days (and no holidays) are valid dates to enter, then you need additional business logic which must be implemented in the same way.
Powered by Yahoo! Answers