{"action":"closed","issue":{"url":"https://api.github.com/repos/Shopify/liquid/issues/597","labels_url":"https://api.github.com/repos/Shopify/liquid/issues/597/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/liquid/issues/597/comments","events_url":"https://api.github.com/repos/Shopify/liquid/issues/597/events","html_url":"https://github.com/Shopify/liquid/issues/597","id":87514540,"number":597,"title":"form.posted_successfully? doesn't work for address forms","user":{"login":"admanami","id":6200995,"avatar_url":"https://avatars.githubusercontent.com/u/6200995?v=3","gravatar_id":"","url":"https://api.github.com/users/admanami","html_url":"https://github.com/admanami","followers_url":"https://api.github.com/users/admanami/followers","following_url":"https://api.github.com/users/admanami/following{/other_user}","gists_url":"https://api.github.com/users/admanami/gists{/gist_id}","starred_url":"https://api.github.com/users/admanami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/admanami/subscriptions","organizations_url":"https://api.github.com/users/admanami/orgs","repos_url":"https://api.github.com/users/admanami/repos","events_url":"https://api.github.com/users/admanami/events{/privacy}","received_events_url":"https://api.github.com/users/admanami/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-11T22:02:02Z","updated_at":"2015-06-11T23:26:48Z","closed_at":"2015-06-11T23:26:48Z","body":"According to the liquid docs:\r\nhttps://docs.shopify.com/themes/liquid-documentation/objects/form#form-posted_successfully\r\n\r\nform.posted_successfully? should work within the {% form %} tag.\r\n\r\nHowever this does not work:\r\n\r\n{% form 'customer_address', address %}\r\n\r\n{% if form.posted_successfully? %}\r\nSuccess\r\n{% else %}\r\n{{ form.errors | default_errors }}\r\n{% endif %}\r\n\r\n{% endform %}\r\n\r\n—————— And nor does this: ——————\r\n\r\n{% form 'customer_address', address %}\r\n\r\n{% if form.posted_successfully? %}\r\nSuccess\r\n{% else %}\r\n{{ form.errors | default_errors }}\r\n{% endif %}\r\n\r\n{% endform %}\r\n\r\n--------------------\r\n\r\nNeither the add, edit or delete functions seem to be able to return a success/failure which can be output on the front end.\r\n"}}