Title: get values from external JSON file
Last modified: October 3, 2018

---

# get values from external JSON file

 *  Resolved [wpdev999](https://wordpress.org/support/users/wpdev999/)
 * (@wpdev999)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/get-values-from-external-json-file/)
 * I am new to this plugin. I am hoping someone can point me in the right direction
   to get started. I want to pull data from a remote JSON file and populate CF7 
   form fields. How would I go about doing this? Do I need to use ACF to store these
   values first before I can fill CF7?

Viewing 1 replies (of 1 total)

 *  Plugin Author [sevenspark](https://wordpress.org/support/users/sevenspark/)
 * (@sevenspark)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/get-values-from-external-json-file/#post-10865390)
 * Hi wpdev999,
 * The DTX access values via shortcode, so as long as you can get the value via 
   PHP, you can return it in a custom shortcode and then inject it into the form.
   How you access that data is totally up to you, but having the data in ACF does
   sound more efficient than reaching out to read a remote JSON file every page 
   load.
 * Hope that helps 🙂

Viewing 1 replies (of 1 total)

The topic ‘get values from external JSON file’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7-dynamic-text-extension/assets/icon-256x256.
   png?rev=3019574)
 * [Contact Form 7 - Dynamic Text Extension](https://wordpress.org/plugins/contact-form-7-dynamic-text-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-dynamic-text-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-dynamic-text-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-dynamic-text-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-dynamic-text-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-dynamic-text-extension/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [sevenspark](https://wordpress.org/support/users/sevenspark/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/get-values-from-external-json-file/#post-10865390)
 * Status: resolved