Posts

Showing posts with the label workflow association

the PeopleEditor and how Validation sucks in SharePoint

Just over another hurdle in the SharePoint steeplechase. This one involves the glorious PeopleEditor control and how to make sure the user has some client-side feedback before they post their selection. Through the nest of blogs and comments about the general ASP.NET versus the universe of SharePoint problem, the best solution seems to revolve around hacking the client side javascript and doing the most manual processes imaginable to get consistent validation. Precisely, I mean that within the PeopleEditor should support simple validation out of the gate, but the AllowEmpty property doesn't work (see Karine Bosch’s comments from this blog link ). Then you end up going through the following failure steps before the aforementioned hack emerges as the winner: AllowEmpty property of PeopleEditor (Karine Bosch’s link ) #FAIL ValidatorEnabled property of PeopleEditor (Karine Bosch’s link ) #FAIL Adding the ASP.NET RequiredFieldValidator element within the ASP form (shereen's bl...