Ha ha I knew somebody (maybe you) would say that :-)
On Sun, Feb 12, 2012 at 6:36 PM, Freddy Daoud <[email protected]> wrote: > Got the Stripes book? The answer is in there ;-) > Freddy > > On Sun, Feb 12, 2012, at 03:41 PM, Mike McNally wrote: >> I realize this is kind of "Stripes 101", but I guess I skipped that >> class. >> >> I'd like to use the code that drops the "error" class into the field >> tag class strings as the primary way to indicate missing required >> fields. I'd then like to show a single error message along with any >> other errors (like fields supplied with improper values). >> >> Thus, the error info on the page might look like: >> >> Sorry, but please: >> >> 1. Please supply values for all indicated required fields. >> 2. Please supply a numeric value for Zip Code. >> >> etc. >> >> I suppose I could go through the validation errors, look for ones for >> fields where the value is empty, and make the assumption that those >> were the required field errors. However, if I take those errors out >> of the set, then I suspect that the page will no longer be able to >> mark the erroneously-missing fields with the "error" class. >> >> This seems like something likely to be pretty easy, but I can't find >> any specific examples. >> >> (I'll post this question to Stackoverflow in case anybody's looking >> for upvotes :-) >> >> >> -- >> Turtle, turtle, on the ground, >> Pink and shiny, turn around. >> >> ------------------------------------------------------------------------------ >> Virtualization & Cloud Management Using Capacity Planning >> Cloud computing makes use of virtualization - but cloud computing >> also focuses on allowing computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> _______________________________________________ >> Stripes-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/stripes-users >> > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users -- Turtle, turtle, on the ground, Pink and shiny, turn around. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
