{"action":"created","issue":{"url":"https://api.github.com/repos/koala-framework/koala-framework/issues/377","repository_url":"https://api.github.com/repos/koala-framework/koala-framework","labels_url":"https://api.github.com/repos/koala-framework/koala-framework/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/koala-framework/koala-framework/issues/377/comments","events_url":"https://api.github.com/repos/koala-framework/koala-framework/issues/377/events","html_url":"https://github.com/koala-framework/koala-framework/issues/377","id":93443581,"number":377,"title":"How to pre-calculate date for DateField on form","user":{"login":"Sogl","id":7556290,"avatar_url":"https://avatars.githubusercontent.com/u/7556290?v=3","gravatar_id":"","url":"https://api.github.com/users/Sogl","html_url":"https://github.com/Sogl","followers_url":"https://api.github.com/users/Sogl/followers","following_url":"https://api.github.com/users/Sogl/following{/other_user}","gists_url":"https://api.github.com/users/Sogl/gists{/gist_id}","starred_url":"https://api.github.com/users/Sogl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sogl/subscriptions","organizations_url":"https://api.github.com/users/Sogl/orgs","repos_url":"https://api.github.com/users/Sogl/repos","events_url":"https://api.github.com/users/Sogl/events{/privacy}","received_events_url":"https://api.github.com/users/Sogl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/koala-framework/koala-framework/labels/Support","name":"Support","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-07T05:39:25Z","updated_at":"2016-03-22T06:46:48Z","closed_at":"2015-07-16T07:52:29Z","body":"Hi!\r\n\r\nSituation (1 FieldSelect and 2 DateFields):\r\n![screenshot_15](https://cloud.githubusercontent.com/assets/7556290/8539253/8c7bae4a-24bc-11e5-9174-4caf0664b30a.jpg)\r\nI want to pre-calculate end date depending on the drop down list and start date. \r\n\r\nFor example: \r\n1. If I choose '3' from dropdown and start date is 07.07.2015:\r\n![screenshot_16](https://cloud.githubusercontent.com/assets/7556290/8539328/58e79bb0-24bd-11e5-9772-e9fdb7f05146.jpg)\r\n2. Then end date value becomes 07.08.2015 (+1 month, depending on DB field of '3' value):\r\n![screenshot_17](https://cloud.githubusercontent.com/assets/7556290/8539351/afd52a3c-24bd-11e5-9df5-867e3912ce8c.jpg)\r\n3. I can change end date if needed.\r\n\r\nHow to implement it?"},"comment":{"url":"https://api.github.com/repos/koala-framework/koala-framework/issues/comments/199663896","html_url":"https://github.com/koala-framework/koala-framework/issues/377#issuecomment-199663896","issue_url":"https://api.github.com/repos/koala-framework/koala-framework/issues/377","id":199663896,"user":{"login":"Sogl","id":7556290,"avatar_url":"https://avatars.githubusercontent.com/u/7556290?v=3","gravatar_id":"","url":"https://api.github.com/users/Sogl","html_url":"https://github.com/Sogl","followers_url":"https://api.github.com/users/Sogl/followers","following_url":"https://api.github.com/users/Sogl/following{/other_user}","gists_url":"https://api.github.com/users/Sogl/gists{/gist_id}","starred_url":"https://api.github.com/users/Sogl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sogl/subscriptions","organizations_url":"https://api.github.com/users/Sogl/orgs","repos_url":"https://api.github.com/users/Sogl/repos","events_url":"https://api.github.com/users/Sogl/events{/privacy}","received_events_url":"https://api.github.com/users/Sogl/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T06:46:48Z","updated_at":"2016-03-22T06:46:48Z","body":"@nsams \r\nDid it in a second way:\r\nhttps://stackoverflow.com/a/36146830/4827198\r\n\r\nBut I want to try with your 1st method to exclude additional queries to the database.\r\nSo.. how to extend KWF remote store to put +1 additional value?\r\n\r\nI found something, but it not clear with KWF:\r\nhttps://www.sencha.com/forum/showthread.php?229536\r\n"}}