{"action":"created","issue":{"url":"https://api.github.com/repos/Codestar/codestar-framework/issues/239","repository_url":"https://api.github.com/repos/Codestar/codestar-framework","labels_url":"https://api.github.com/repos/Codestar/codestar-framework/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/Codestar/codestar-framework/issues/239/comments","events_url":"https://api.github.com/repos/Codestar/codestar-framework/issues/239/events","html_url":"https://github.com/Codestar/codestar-framework/issues/239","id":140632617,"number":239,"title":"How to print the current post id in a readonly text field","user":{"login":"dmsumon","id":8942430,"avatar_url":"https://avatars.githubusercontent.com/u/8942430?v=3","gravatar_id":"","url":"https://api.github.com/users/dmsumon","html_url":"https://github.com/dmsumon","followers_url":"https://api.github.com/users/dmsumon/followers","following_url":"https://api.github.com/users/dmsumon/following{/other_user}","gists_url":"https://api.github.com/users/dmsumon/gists{/gist_id}","starred_url":"https://api.github.com/users/dmsumon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmsumon/subscriptions","organizations_url":"https://api.github.com/users/dmsumon/orgs","repos_url":"https://api.github.com/users/dmsumon/repos","events_url":"https://api.github.com/users/dmsumon/events{/privacy}","received_events_url":"https://api.github.com/users/dmsumon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-14T10:24:53Z","updated_at":"2016-03-14T10:31:39Z","closed_at":null,"body":"Hello, @Codestar\r\n\r\nI have a text field code like below \r\n\r\n  ```\r\narray(\r\n    'id'    => 'section_1_text',\r\n    'type'  => 'text',\r\n    'title' => 'Text Field',\r\n    'default' => 'do stuff',\r\n    'attributes' => array(\r\n        readonly => 'readonly',\r\n    ),\r\n),\r\n```\r\n\r\nBut I wonder is there any way to print the current post ID in the Text Field default value ? \r\n\r\nPlease help me ASAP. Thanks in advance. "},"comment":{"url":"https://api.github.com/repos/Codestar/codestar-framework/issues/comments/196245707","html_url":"https://github.com/Codestar/codestar-framework/issues/239#issuecomment-196245707","issue_url":"https://api.github.com/repos/Codestar/codestar-framework/issues/239","id":196245707,"user":{"login":"Codestar","id":1313301,"avatar_url":"https://avatars.githubusercontent.com/u/1313301?v=3","gravatar_id":"","url":"https://api.github.com/users/Codestar","html_url":"https://github.com/Codestar","followers_url":"https://api.github.com/users/Codestar/followers","following_url":"https://api.github.com/users/Codestar/following{/other_user}","gists_url":"https://api.github.com/users/Codestar/gists{/gist_id}","starred_url":"https://api.github.com/users/Codestar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Codestar/subscriptions","organizations_url":"https://api.github.com/users/Codestar/orgs","repos_url":"https://api.github.com/users/Codestar/repos","events_url":"https://api.github.com/users/Codestar/events{/privacy}","received_events_url":"https://api.github.com/users/Codestar/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T10:31:39Z","updated_at":"2016-03-14T10:31:39Z","body":"Hi,\r\n\r\nInteresting request, why you need this ? you can get current post ID without a field. ? It is contrary to nature :smiley: "}}