{"action":"created","issue":{"url":"https://api.github.com/repos/Fabrik/fabrik/issues/1408","labels_url":"https://api.github.com/repos/Fabrik/fabrik/issues/1408/labels{/name}","comments_url":"https://api.github.com/repos/Fabrik/fabrik/issues/1408/comments","events_url":"https://api.github.com/repos/Fabrik/fabrik/issues/1408/events","html_url":"https://github.com/Fabrik/fabrik/issues/1408","id":60596484,"number":1408,"title":"Cdd rendered as checkbox","user":{"login":"ariouche","id":5327635,"avatar_url":"https://avatars.githubusercontent.com/u/5327635?v=3","gravatar_id":"","url":"https://api.github.com/users/ariouche","html_url":"https://github.com/ariouche","followers_url":"https://api.github.com/users/ariouche/followers","following_url":"https://api.github.com/users/ariouche/following{/other_user}","gists_url":"https://api.github.com/users/ariouche/gists{/gist_id}","starred_url":"https://api.github.com/users/ariouche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariouche/subscriptions","organizations_url":"https://api.github.com/users/ariouche/orgs","repos_url":"https://api.github.com/users/ariouche/repos","events_url":"https://api.github.com/users/ariouche/events{/privacy}","received_events_url":"https://api.github.com/users/ariouche/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-11T01:25:13Z","updated_at":"2015-03-11T13:35:16Z","closed_at":null,"body":"Hi,\r\nI've got a cdd rendered as a checkbox. (under Data tab) the id field is set to a datatype = string ('paypal21') and not an integer and I've got that js error: Uncaught ReferenceError: paypal21 is not defined when cdd is updated.\r\nI've changed the cdd to dropdown and the error disapears."},"comment":{"url":"https://api.github.com/repos/Fabrik/fabrik/issues/comments/78263361","html_url":"https://github.com/Fabrik/fabrik/issues/1408#issuecomment-78263361","issue_url":"https://api.github.com/repos/Fabrik/fabrik/issues/1408","id":78263361,"user":{"login":"jaanusnurmoja","id":1138055,"avatar_url":"https://avatars.githubusercontent.com/u/1138055?v=3","gravatar_id":"","url":"https://api.github.com/users/jaanusnurmoja","html_url":"https://github.com/jaanusnurmoja","followers_url":"https://api.github.com/users/jaanusnurmoja/followers","following_url":"https://api.github.com/users/jaanusnurmoja/following{/other_user}","gists_url":"https://api.github.com/users/jaanusnurmoja/gists{/gist_id}","starred_url":"https://api.github.com/users/jaanusnurmoja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaanusnurmoja/subscriptions","organizations_url":"https://api.github.com/users/jaanusnurmoja/orgs","repos_url":"https://api.github.com/users/jaanusnurmoja/repos","events_url":"https://api.github.com/users/jaanusnurmoja/events{/privacy}","received_events_url":"https://api.github.com/users/jaanusnurmoja/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T13:35:16Z","updated_at":"2015-03-11T13:35:16Z","body":"Thanks, I first misunderstood your issue. Looks like a bug. \r\nCould you look at your database (in phpmyadmin or whatever db client)\r\nThere should still be the database table that was autocreated after you created CDD as checkboxes. Before it (just in case) set your CDD back to the checkbox mode. \r\nThe table name should be `[yourparenttablename]_repeat_[yourcddfieldname]` (sorry, I don't know your actual table and cdd field name)\r\nThen look at the table structure and see which type is there the field `[yourcddfieldname]`. \r\nIf it is e.g varchar then it's correct. If INT, then not. "}}