{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/6623","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6623/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6623/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6623/events","html_url":"https://github.com/mozilla/pdf.js/issues/6623","id":116405390,"number":6623,"title":"radio buttons should have same field names","user":{"login":"si458","id":765314,"avatar_url":"https://avatars.githubusercontent.com/u/765314?v=3","gravatar_id":"","url":"https://api.github.com/users/si458","html_url":"https://github.com/si458","followers_url":"https://api.github.com/users/si458/followers","following_url":"https://api.github.com/users/si458/following{/other_user}","gists_url":"https://api.github.com/users/si458/gists{/gist_id}","starred_url":"https://api.github.com/users/si458/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/si458/subscriptions","organizations_url":"https://api.github.com/users/si458/orgs","repos_url":"https://api.github.com/users/si458/repos","events_url":"https://api.github.com/users/si458/events{/privacy}","received_events_url":"https://api.github.com/users/si458/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-11T19:33:13Z","updated_at":"2015-11-11T19:44:25Z","closed_at":null,"body":"Hi,\r\nI have been bashing my head against wall for days now and ive finally found an issue\r\n\r\nim using this sample to create online PDF forms for filling in - http://www.codeproject.com/Articles/466362/Blend-PDF-with-HTML (i have updated the pdf.js engine to latest version, tweaked a few files and seemed ok)\r\n\r\nhowever when I create a pdf with radio buttons using adobe and make sure the radio buttons are in the same group, it appears the radio buttons are showing the fieldName as  \r\n``Group1`0``   ``Group1`1`` \r\n(noticed the extra bit after the Group1)\r\n\r\nhowever they need to be displayed the same fieldName for the radio buttons to work correctly\r\n\r\nive managed to find the line in Annotation.js(535) and pdf.worker.js(5416) - fieldName.unshift('`' + j);\r\n\r\nthis resolves the issue with text fields, buttons, etc, but not radio buttons!\r\n\r\nis it possible to check if type if a radio button if so then dont add it ?\r\n\r\nEDIT: simple code i made and seems ok - if (data.fieldFlags & 32768) { }else{ fieldName.unshift('`' + j); }\r\n\r\n\r\ncurrently ive just commented out the line and it works\r\n\r\nSimon\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/155890188","html_url":"https://github.com/mozilla/pdf.js/issues/6623#issuecomment-155890188","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6623","id":155890188,"user":{"login":"yurydelendik","id":1523410,"avatar_url":"https://avatars.githubusercontent.com/u/1523410?v=3","gravatar_id":"","url":"https://api.github.com/users/yurydelendik","html_url":"https://github.com/yurydelendik","followers_url":"https://api.github.com/users/yurydelendik/followers","following_url":"https://api.github.com/users/yurydelendik/following{/other_user}","gists_url":"https://api.github.com/users/yurydelendik/gists{/gist_id}","starred_url":"https://api.github.com/users/yurydelendik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurydelendik/subscriptions","organizations_url":"https://api.github.com/users/yurydelendik/orgs","repos_url":"https://api.github.com/users/yurydelendik/repos","events_url":"https://api.github.com/users/yurydelendik/events{/privacy}","received_events_url":"https://api.github.com/users/yurydelendik/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T19:44:25Z","updated_at":"2015-11-11T19:44:25Z","body":"AcroForms are not supported yet (see #1459 and #6172). If you think that make sense, please submit a pull request. Notice there is a comment about this line https://github.com/mozilla/pdf.js/blob/master/src/core/annotation.js#L522 . My question is: why there is no name for the radio button?"}}