{"action":"created","issue":{"url":"https://api.github.com/repos/mautic/mautic/issues/45","labels_url":"https://api.github.com/repos/mautic/mautic/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/45/comments","events_url":"https://api.github.com/repos/mautic/mautic/issues/45/events","html_url":"https://github.com/mautic/mautic/issues/45","id":57706553,"number":45,"title":"Tiny bug in Form Management","user":{"login":"alvinbenavides","id":10437896,"avatar_url":"https://avatars.githubusercontent.com/u/10437896?v=3","gravatar_id":"","url":"https://api.github.com/users/alvinbenavides","html_url":"https://github.com/alvinbenavides","followers_url":"https://api.github.com/users/alvinbenavides/followers","following_url":"https://api.github.com/users/alvinbenavides/following{/other_user}","gists_url":"https://api.github.com/users/alvinbenavides/gists{/gist_id}","starred_url":"https://api.github.com/users/alvinbenavides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvinbenavides/subscriptions","organizations_url":"https://api.github.com/users/alvinbenavides/orgs","repos_url":"https://api.github.com/users/alvinbenavides/repos","events_url":"https://api.github.com/users/alvinbenavides/events{/privacy}","received_events_url":"https://api.github.com/users/alvinbenavides/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-14T21:06:34Z","updated_at":"2015-02-15T08:16:45Z","closed_at":null,"body":"Hi. Not a critical error and I guess you have to be lazy like me in order to catch it... \r\n\r\nI'm adding actions in form configuration. If I add \"Create/update lead\" or \"Modify leads list\" I just need to fill necessary fields, the Name field is automatically generated based on the selected action.\r\n\r\nWith 'Send email to lead' action, if I choose an email but don't fill the action name, validation fails and gives me an error saying \"Select the email to be sent.\" Error message is confusing since I selected the email, is the name I didn't filled. Maybe it can be auto generated like with the other actions.\r\n\r\nThis only happens on my own installation, I'm using latest from github. I test it on mautic.com without  this error but I guess is not the same version because there the action is called \"Send predefined email to lead\" and in my installation is called \"Send email to lead\"."},"comment":{"url":"https://api.github.com/repos/mautic/mautic/issues/comments/74408486","html_url":"https://github.com/mautic/mautic/issues/45#issuecomment-74408486","issue_url":"https://api.github.com/repos/mautic/mautic/issues/45","id":74408486,"user":{"login":"alanhartless","id":63312,"avatar_url":"https://avatars.githubusercontent.com/u/63312?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhartless","html_url":"https://github.com/alanhartless","followers_url":"https://api.github.com/users/alanhartless/followers","following_url":"https://api.github.com/users/alanhartless/following{/other_user}","gists_url":"https://api.github.com/users/alanhartless/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhartless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhartless/subscriptions","organizations_url":"https://api.github.com/users/alanhartless/orgs","repos_url":"https://api.github.com/users/alanhartless/repos","events_url":"https://api.github.com/users/alanhartless/events{/privacy}","received_events_url":"https://api.github.com/users/alanhartless/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T08:16:45Z","updated_at":"2015-02-15T08:16:45Z","body":"Hi,\r\n\r\nI believe this is related to the bug fixed with commit https://github.com/mautic/mautic/commit/6b061af121de158c6f81be55c4449455bf5dab34.\r\n\r\nReally all you need out of that commit to fix this is to overwrite media/js/app.js with https://github.com/mautic/mautic/blob/6b061af121de158c6f81be55c4449455bf5dab34/media/js/app.js.\r\n\r\nIt happens when a modal is duplicated, leading to two of the same form.  When you submit, the values of the hidden identical form (with all blank values) are sent to the server  rather than the one you actually filled in leading to failed validation.  That file should fix that.\r\n\r\nThanks!\r\nAlan"}}