tag:blogger.com,1999:blog-8492059842142356488.post6930887928384169566..comments2023-09-23T16:46:57.616+02:00Comments on Thoughts on software development: How to validate multiple required fields all at onceOleg Varaksinhttp://www.blogger.com/profile/13872270134068047346noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-8492059842142356488.post-16690973940900101272011-08-23T22:45:28.515+02:002011-08-23T22:45:28.515+02:00I just saw it after submitting the comment and I c...I just saw it after submitting the comment and I can't edit it.<br /><br />Yes it's the label attribute. Ok, in this case you should mention it in the post. Posting a long entry just for a simple thing is misleading for new users and it just introduce a performance overhead which is not acceptable for big projects. Some component libraries offer components which fix the redundant usages or you can implement your own which then supports more than just one case and the result has a way better performance.EE Architecthttps://www.blogger.com/profile/08533588506186462431noreply@blogger.comtag:blogger.com,1999:blog-8492059842142356488.post-16993158940481348112011-08-23T22:21:09.099+02:002011-08-23T22:21:09.099+02:00I don't see your code (you should escape code ...I don't see your code (you should escape code e.g. by http://accessify.com/tools-and-wizards/developer-tools/quick-escape/default.php). If you meant the "label" attribute of some editable components, it was not acceptable for us. The solution should be more or less dynamic, without replications of label text and without many changes in existing code.<br /><br />This task is done a long time ago by a simple way (can not post here). The purpose of this post was evaluation of various solutions for cross-component validation.Oleg Varaksinhttps://www.blogger.com/profile/13872270134068047346noreply@blogger.comtag:blogger.com,1999:blog-8492059842142356488.post-31887497513100089242011-08-23T20:41:47.026+02:002011-08-23T20:41:47.026+02:00If the only task is to get a useful label, you sho...If the only task is to get a useful label, you should have asked in a forum or mailing list because it's way simpler:<br /><br /><br /><br />-> A message with a strange message (as you pointed out at the beginning).<br /><br />The solution is as simple as that:<br /><br /><br />This label will be used for any kind of error message which belongs to this component (if the message text contains the placeholder for the label).EE Architecthttps://www.blogger.com/profile/08533588506186462431noreply@blogger.com