Answers.Body: <p>You should have a look at the <a href="https://github.com/lewisjenkins/craft-lj-dynamicfields" rel="nofollow noreferrer">LJ Dynamic Fields plugin</a>, it sounds like everything you’re after is already doable with this plugin and if not, you can study the code or build upon it.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-20T15:14:50.280Z
Answers.LastActivityDate: 2016-12-20T15:14:50.280Z
Answers.UserDisplayName: carlcs
Body: <p>I would like to create a custom dropdown field with dynamic data</p>
  
  <p>Ideally I would get data from one of my services, and then inject it dynamically in the HTML select field</p>
  
  <p>I read the plugin documentation on custom field types, but couldn't find anything about this</p>
  
Tags: <plugin-development>
Title: Create custom field type with dynamic data
ThreadText: # Create custom field type with dynamic data
  
  (Asked by: username_0 on 2016-12-20)
  
  I would like to create a custom dropdown field with dynamic data
  
  Ideally I would get data from one of my services, and then inject it dynamically in the HTML select field
  
  I read the plugin documentation on custom field types, but couldn't find anything about this
  
  **Tags:** plugin-development
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-12-20. Score: 3 | Accepted answer
  
  You should have a look at the [LJ Dynamic Fields plugin](https://github.com/lewisjenkins/craft-lj-dynamicfields), it sounds like everything you’re after is already doable with this plugin and if not, you can study the code or build upon it.
  
  
  ---
  
  