Answers.Body: <p>Just take your value direct from the <code>$_POST</code> array.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-16T10:42:06.653Z
Answers.Text: Well, I cannot believe i didn't think of that!! Cheers James, perfect!
Answers.UserDisplayName: John
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-15T18:00:05.933Z
Answers.LastActivityDate: 2021-03-15T18:00:05.933Z
Answers.UserDisplayName: James Smith
Body: <p>I'd like to add a form field into the details bar on the entry edit page, so that when the entry gets submitted, the form field value gets passed into the data payload so that I can pick it up from the EVENT_BEFORE_SAVE event.</p>
  <p>However, it does not seem to get passed into the data I can see in that hook. Is there any way to do this? I want to give the user an option to tick a box that on save of the entry, it sends some data off to a third party API.</p>
  
Tags: <plugin-development><modules>
Title: Add a form field into the details bar on the entry edit screen and do something with the value
ThreadText: # Add a form field into the details bar on the entry edit screen and do something with the value
  
  (Asked by: username_0 on 2021-03-15)
  
  I'd like to add a form field into the details bar on the entry edit page, so that when the entry gets submitted, the form field value gets passed into the data payload so that I can pick it up from the EVENT\_BEFORE\_SAVE event.
  
  However, it does not seem to get passed into the data I can see in that hook. Is there any way to do this? I want to give the user an option to tick a box that on save of the entry, it sends some data off to a third party API.
  
  **Tags:** plugin-development, modules
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-03-15. Score: 1 | Accepted answer
  
  Just take your value direct from the `$_POST` array.
  
  > **Comments:**
  > **username_0**: Well, I cannot believe i didn't think of that!! Cheers username_1, perfect!  
  
  ---
  
  