{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1919","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1919/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1919/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1919/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/1919","id":197788814,"number":1919,"title":"DialogAction.validatedPrompt : only validate 2 times","user":{"login":"astrung","id":9162294,"avatar_url":"https://avatars.githubusercontent.com/u/9162294?v=3","gravatar_id":"","url":"https://api.github.com/users/astrung","html_url":"https://github.com/astrung","followers_url":"https://api.github.com/users/astrung/followers","following_url":"https://api.github.com/users/astrung/following{/other_user}","gists_url":"https://api.github.com/users/astrung/gists{/gist_id}","starred_url":"https://api.github.com/users/astrung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astrung/subscriptions","organizations_url":"https://api.github.com/users/astrung/orgs","repos_url":"https://api.github.com/users/astrung/repos","events_url":"https://api.github.com/users/astrung/events{/privacy}","received_events_url":"https://api.github.com/users/astrung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-28T03:09:03Z","updated_at":"2016-12-28T03:09:03Z","closed_at":null,"body":"i have a simple example from DialogAction.validatedPrompt example : [validatedPrompt](https://docs.botframework.com/en-us/node/builder/chat-reference/classes/_botbuilder_d_.dialogaction.html#validatedprompt) \r\n\r\n    bot.dialog('/', [\r\n      function (session) {\r\n        session.beginDialog('/meaningOfLife', { prompt: \"What's the meaning of life?\" });\r\n      },\r\n      function (session, results) {\r\n        if (results.response) {\r\n          session.send(\"That's correct! The meaning of life is 42.\");\r\n        } else {\r\n          session.send(\"Sorry you couldn't figure it out. Everyone knows that the meaning of life is 42.\");\r\n        }\r\n      }\r\n    ]);\r\n    bot.dialog('/meaningOfLife', builder.DialogAction.validatedPrompt(builder.PromptType.text, \r\n      function (response) {\r\n      return response === '42';\r\n    }));\r\n\r\nIt only validate input for 2 times. In next time , i get this response : \"Sorry you couldn't figure it out. Everyone knows that the meaning of life is 42.\" \r\n\r\nIt meant : DialogAction.validatedPrompt validates for only 2 times , then let my input go out from validated Prompt in third time . \r\n\r\nSo how can i config how many times for validatedPrompts (no description in document ) ?"}}
{"actor":{"display_login":"astrung"}}