{"action":"created","issue":{"url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/1016","labels_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/1016/labels{/name}","comments_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/1016/comments","events_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/1016/events","html_url":"https://github.com/aldeed/meteor-autoform/issues/1016","id":85866465,"number":1016,"title":"Prevent afFieldInput from generating a label tag?","user":{"login":"fuzzybabybunny","id":6261213,"avatar_url":"https://avatars.githubusercontent.com/u/6261213?v=3","gravatar_id":"","url":"https://api.github.com/users/fuzzybabybunny","html_url":"https://github.com/fuzzybabybunny","followers_url":"https://api.github.com/users/fuzzybabybunny/followers","following_url":"https://api.github.com/users/fuzzybabybunny/following{/other_user}","gists_url":"https://api.github.com/users/fuzzybabybunny/gists{/gist_id}","starred_url":"https://api.github.com/users/fuzzybabybunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fuzzybabybunny/subscriptions","organizations_url":"https://api.github.com/users/fuzzybabybunny/orgs","repos_url":"https://api.github.com/users/fuzzybabybunny/repos","events_url":"https://api.github.com/users/fuzzybabybunny/events{/privacy}","received_events_url":"https://api.github.com/users/fuzzybabybunny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-07T06:36:38Z","updated_at":"2015-06-11T10:31:38Z","closed_at":null,"body":"```html\r\n{{> afFieldInput class=\"track-order-change\" name=\"servicesSelected.hdrPhotos.selected\" type=\"boolean-checkbox\" noselect=\"true\"}}\r\n```\r\n^^^ this generates the following HTML:\r\n```html\r\n  <div class=\"checkbox\">\r\n    <label>\r\n      <input type=\"checkbox\" value=\"true\" class=\"track-order-change\" name=\"servicesSelected.hdrPhotos.selected\" data-schema-key=\"servicesSelected.hdrPhotos.selected\">\r\n      My Label That I Defined In The Schema\r\n    </label>\r\n  </div>    \r\n```\r\nIs there a way to have Autoform not create a label tag at all? I need to be able to dynamically generate the label on the front end as well as assign a class to a label. The price for this service changes dynamically and I want the label to look like\r\n\r\n [checkbox] $xx.xx - [the title of the service]\r\n\r\n```html\r\n  <div class=\"checkbox\">\r\n    <label class=\"bold-if-checked\">\r\n      <input type=\"checkbox\" value=\"true\" class=\"track-order-change\" name=\"servicesSelected.hdrPhotos.selected\" title=\"haha\" data-schema-key=\"servicesSelected.hdrPhotos.selected\">\r\n      {{formatToCurrency currentPrice.hdrPhotos}} - {{services.hdrPhotos.title}}\r\n    </label>\r\n  </div>    \r\n```"},"comment":{"url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/comments/111080639","html_url":"https://github.com/aldeed/meteor-autoform/issues/1016#issuecomment-111080639","issue_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/1016","id":111080639,"user":{"login":"fuzzybabybunny","id":6261213,"avatar_url":"https://avatars.githubusercontent.com/u/6261213?v=3","gravatar_id":"","url":"https://api.github.com/users/fuzzybabybunny","html_url":"https://github.com/fuzzybabybunny","followers_url":"https://api.github.com/users/fuzzybabybunny/followers","following_url":"https://api.github.com/users/fuzzybabybunny/following{/other_user}","gists_url":"https://api.github.com/users/fuzzybabybunny/gists{/gist_id}","starred_url":"https://api.github.com/users/fuzzybabybunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fuzzybabybunny/subscriptions","organizations_url":"https://api.github.com/users/fuzzybabybunny/orgs","repos_url":"https://api.github.com/users/fuzzybabybunny/repos","events_url":"https://api.github.com/users/fuzzybabybunny/events{/privacy}","received_events_url":"https://api.github.com/users/fuzzybabybunny/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T10:31:38Z","updated_at":"2015-06-11T10:31:38Z","body":"From what I gather, there are severe limitations to generating the label contents.\r\n\r\nFor ```afFieldInput``` of ```afQuickField```, the contents of their label must be derived programmatically from  the schema, which is very problematic for a variety of reasons.\r\n\r\n1. I don't believe that HTML will be rendered if the label string in the schema has any HTML.\r\n2. What if the label requires the values of Session variables or user input that changes dynamically? The schema resides in ```lib``` so it runs on both the client and server, the latter which does not have Session or jQuery."}}