{"action":"created","issue":{"url":"https://api.github.com/repos/formvalidation/support/issues/164","labels_url":"https://api.github.com/repos/formvalidation/support/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/formvalidation/support/issues/164/comments","events_url":"https://api.github.com/repos/formvalidation/support/issues/164/events","html_url":"https://github.com/formvalidation/support/issues/164","id":84784347,"number":164,"title":"Radio button validation message is not being displayed ","user":{"login":"thomasonk","id":12737939,"avatar_url":"https://avatars.githubusercontent.com/u/12737939?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasonk","html_url":"https://github.com/thomasonk","followers_url":"https://api.github.com/users/thomasonk/followers","following_url":"https://api.github.com/users/thomasonk/following{/other_user}","gists_url":"https://api.github.com/users/thomasonk/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasonk/subscriptions","organizations_url":"https://api.github.com/users/thomasonk/orgs","repos_url":"https://api.github.com/users/thomasonk/repos","events_url":"https://api.github.com/users/thomasonk/events{/privacy}","received_events_url":"https://api.github.com/users/thomasonk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/formvalidation/support/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-03T21:44:27Z","updated_at":"2015-06-04T13:13:55Z","closed_at":null,"body":"I am having problem with the radio button validation message not displaying. The field will validation properly and mark itself as invalid but the message is not displayed anywhere. \r\nI have tried changing the validation to a choice but that does not work either.\r\nAny clue as to what I am doing wrong? \r\n\r\nThanks,\r\nKen  \r\n\r\n```\r\n<div class=\"panel-body ERL_panel_body\">\r\n                                 <div class=\"form-group\">\r\n                                    <div class=\"col-xs-12\">\r\n                                        To ensure timely release reporting, please select one of the following:\r\n                                    </div>\r\n                                </div>\r\n                                <div class=\"form-group\" id=\"callNow\" style=\"margin-bottom:0px;\">\r\n                                    <div class=\"col-xs-12\">\r\n                                        <div class=\"panel ERL_Panel\" id=\"pnlCallNow\" runat=\"server\">\r\n                                            <div class=\"panel-heading ERL_panel_body schedPanelHeader\" style=\"height: 35px\">\r\n                                                <div class=\"radio\">\r\n                                                    <label style=\"border: 0px;\" class=\"control-label\">\r\n                                                        <input type=\"radio\" id=\"rdoCallNow\" name=\"rdoCallTiming\" value=\"Call Now\" data-toggle=\"#confCallInfo\" />&nbsp; Call Now\r\n                                                    </label>\r\n                                                </div>\r\n                                            </div>\r\n                                           <div class=\"panel-body\">\r\n                                                <div id=\"divCallNow\" runat=\"server\" style=\"display:none;\"></div>\r\n                                             \r\n                                            </div>\r\n                                        </div>\r\n                                    </div>\r\n\r\n                                </div>\r\n                                <div class=\"form-group\" id=\"scheduleCall\"  style=\"margin-bottom:0px;\">\r\n                                    <div class=\"col-xs-12\">\r\n                                        <div class=\"panel  ERL_panel\" id=\"pnlScheduleCall\" >\r\n                                            <div class=\"panel-heading ERL_panel_body schedPanelHeader\" style=\"height: 35px;\">\r\n                                                <div class=\"radio\">\r\n                                                    <label class=\"control-label\">\r\n                                                        <input type=\"radio\" name=\"rdoCallTiming\" id=\"rdoScheduleCall\" value=\"Schedule Call\" data-toggle=\"#confCallInfo\" />&nbsp; Schedule Call\r\n                                                    </label>\r\n                                                </div>\r\n                                            </div>\r\n                                            <div class=\"panel-body\">\r\n                                                 <div id=\"divScheduleCall\" runat=\"server\" style=\"display:none;\"></div>\r\n                                              </div>\r\n                                        </div>\r\n                                    </div>\r\n                                </div>\r\n                                <div class=\"form-group\" id=\"infoOnly\"  style=\"margin-bottom:0px;\">\r\n                                    <div class=\"col-xs-12\">\r\n                                        <div class=\"panel ERL_Panel\" id=\"pnlInfoOnly\">\r\n                                            <div class=\"panel-heading ERL_panel_body schedPanelHeader\" style=\"height: 35px;\">\r\n                                                <div class=\"radio\">\r\n                                                    <label class=\"control-label\">\r\n                                                        <input type=\"radio\"  name=\"rdoCallTiming\" id=\"rdoInfoOnly\" value=\"Info Only\" data-toggle=\"#confCallInfo\" />&nbsp; Info Only <em>No call necessary</em>\r\n                                                    </label>\r\n                                                </div>\r\n                                            </div>\r\n                                          <div class=\"panel-body\">\r\n                                                  <div id=\"divInfoOnly\" runat=\"server\" style=\"display:none;\"></div>\r\n                                               </div>\r\n                                        </div>\r\n                                    </div>\r\n                                </div>\r\n```\r\n\r\nAnd the validator is defined like this: \r\n```\r\n  rdoCallTiming: {\r\n                                validators: {\r\n                                    notEmpty: {\r\n                                        message: 'Select an Call Scheduling Option.'\r\n                                    }       \r\n                                }\r\n                            },\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/formvalidation/support/issues/comments/108893918","html_url":"https://github.com/formvalidation/support/issues/164#issuecomment-108893918","issue_url":"https://api.github.com/repos/formvalidation/support/issues/164","id":108893918,"user":{"login":"thomasonk","id":12737939,"avatar_url":"https://avatars.githubusercontent.com/u/12737939?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasonk","html_url":"https://github.com/thomasonk","followers_url":"https://api.github.com/users/thomasonk/followers","following_url":"https://api.github.com/users/thomasonk/following{/other_user}","gists_url":"https://api.github.com/users/thomasonk/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasonk/subscriptions","organizations_url":"https://api.github.com/users/thomasonk/orgs","repos_url":"https://api.github.com/users/thomasonk/repos","events_url":"https://api.github.com/users/thomasonk/events{/privacy}","received_events_url":"https://api.github.com/users/thomasonk/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T13:13:55Z","updated_at":"2015-06-04T13:13:55Z","body":"Thanks, that worked.\r\nI was already using the container/err option  for a group summary message but did not realize I needed to use it on individual fields.\r\n\r\nAs a follow up question, is there a shim to get the group summary message working for IE 8?\r\n\r\nI have the summary message working but in IE 8, it seems to look through each field twice and list out -1 for the second field.\r\nI am using the code from this example http://formvalidation.io/examples/showing-message-custom-area/\r\n[cid:image001.png@01D09E9E.231EB220]\r\n\r\nI am using the code from this example http://formvalidation.io/examples/showing-message-custom-area/\r\nWhere it looks through the messages and puts them in my message container:\r\n// Loop over the messages\r\n            for (var i in messages) {\r\n                // Create new 'li' element to show the message\r\n                $('<li/>')\r\n                    .attr('data-field', data.field)\r\n                    .wrapInner(\r\n                        $('<a/>')\r\n                            .attr('href', 'javascript: void(0);')\r\n                            .html(messages[i])\r\n                            .on('click', function(e) {\r\n                                // Focus on the invalid field\r\n                                data.element.focus();\r\n                            })\r\n                    )\r\n                    .appendTo('#errors');\r\n            }\r\n\r\nThanks,\r\nKen\r\n\r\nFrom: Phuoc Nguyen [mailto:notifications@github.com]\r\nSent: Thursday, June 04, 2015 5:03 AM\r\nTo: formvalidation/support\r\nCc: Thomason, Ken L.\r\nSubject: Re: [support] Radio button validation message is not being displayed (#164)\r\n\r\n\r\nWhen using multiple element with the same name (rdoCallTiming) which are placed in different containers, you should use the container<http://formvalidation.io/settings#form-err-container> or err<http://formvalidation.io/settings/#field-err> option to indicate where the messages are shown.\r\n\r\nFor example:\r\n\r\n<div class=\"form-group\" id=\"scheduleCall\"  style=\"margin-bottom:0px;\">\r\n\r\n    <div class=\"col-xs-12\">\r\n\r\n        <div class=\"panel  ERL_panel\" id=\"pnlScheduleCall\" >\r\n\r\n            <div class=\"panel-heading ERL_panel_body schedPanelHeader\" style=\"height: 35px;\">\r\n\r\n                <div class=\"radio\">\r\n\r\n                    <label class=\"control-label\">\r\n\r\n                        <input type=\"radio\" name=\"rdoCallTiming\" id=\"rdoScheduleCall\" value=\"Schedule Call\" data-toggle=\"#confCallInfo\" />&nbsp; Schedule Call\r\n\r\n                    </label>\r\n\r\n                </div>\r\n\r\n            </div>\r\n\r\n            <div class=\"panel-body\">\r\n\r\n                 <div id=\"divScheduleCall\" runat=\"server\" style=\"display:none;\"></div>\r\n\r\n              </div>\r\n\r\n        </div>\r\n\r\n    </div>\r\n\r\n</div>\r\n\r\n\r\n\r\n<div class=\"form-group\" id=\"infoOnly\"  style=\"margin-bottom:0px;\">\r\n\r\n    <div class=\"col-xs-12\">\r\n\r\n        <div class=\"panel ERL_Panel\" id=\"pnlInfoOnly\">\r\n\r\n            <div class=\"panel-heading ERL_panel_body schedPanelHeader\" style=\"height: 35px;\">\r\n\r\n                <div class=\"radio\">\r\n\r\n                    <label class=\"control-label\">\r\n\r\n                        <input type=\"radio\"  name=\"rdoCallTiming\" id=\"rdoInfoOnly\" value=\"Info Only\" data-toggle=\"#confCallInfo\" />&nbsp; Info Only <em>No call necessary</em>\r\n\r\n                    </label>\r\n\r\n                </div>\r\n\r\n            </div>\r\n\r\n          <div class=\"panel-body\">\r\n\r\n                  <div id=\"divInfoOnly\" runat=\"server\" style=\"display:none;\"></div>\r\n\r\n               </div>\r\n\r\n        </div>\r\n\r\n    </div>\r\n\r\n</div>\r\n\r\n\r\n\r\n<!-- The message container for rdoCallTiming -->\r\n\r\n<div class=\"form-group\" id=\"rdoCallTimingMessage\" style=\"margin-bottom:0px;\">\r\n\r\n</div>\r\n\r\nrdoCallTiming: {\r\n\r\n    err: '#rdoCallTimingMessage',\r\n\r\n    validators: {\r\n\r\n        notEmpty: {\r\n\r\n            message: 'Select an Call Scheduling Option.'\r\n\r\n        }\r\n\r\n    }\r\n\r\n}\r\n\r\nSee more uages at the Showing messages in custom area<http://formvalidation.io/examples/showing-message-custom-area/> example.\r\n\r\n—\r\nReply to this email directly or view it on GitHub<https://github.com/formvalidation/support/issues/164#issuecomment-108818760>.\r\n"}}