{"id":4807512,"date":"2014-04-14T20:36:08","date_gmt":"2014-04-14T20:36:08","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/attachment-using-select-dropdown\/"},"modified":"2016-08-21T19:19:57","modified_gmt":"2016-08-21T19:19:57","slug":"attachment-using-select-dropdown","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/attachment-using-select-dropdown\/","title":{"rendered":"Attachment using select dropdown"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I&#8217;m trying to send an auto-response email with a local file attachment. I want to send the attachment according to the option selected in a dropdown.<br \/>\nHere&#8217;s how I&#8217;m trying to do it:<\/p>\n<p><code>[select your-attachment &quot;File 1|uploads\/2014\/04\/04\/file1.pdf&quot; &quot;File 2|uploads\/2014\/04\/04\/file2.pdf&quot;]<\/code><\/p>\n<p>And then in the <em>File attachments<\/em> field: <code>[your-attachment]<\/code><\/p>\n<p>However, this isn&#8217;t working.<br \/>\nAny ideas of how can I make it work?<\/p>\n<p>Thanks<\/p>\n<p>https:\/\/wordpress.org\/plugins\/contact-form-7\/<\/p>\n","protected":false},"template":"","class_list":["post-4807512","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4807512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4807512\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4807512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}