Answers.Body: <p>I found easier to move fields on the client side (using jQuery). you could write a simple extension that:</p>
  
  <ul>
  <li>adds a custom javascript on the specific page(s) you want to modify</li>
  <li>and that javascript would move the fields to their new location, and presumably hide the custom group "activity metadata"</li>
  </ul>
  
  <p>It's mostly robust, but you would need to check everytime you do an upgrade that the selectors you used are still the same between different civicrm versions</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-25T12:01:39.773Z
Answers.Text: I was hoping that there might be a way to do this without coding, as I have no such skills.
Answers.UserDisplayName: nelebuyl
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-25T12:12:59.340Z
Answers.Text: It's really hard to make a form you can change easily exactly the way you want, and no matter how many options you can come up with, you will aways have one special need that isn't covered ;( we found easier to make it simple(ish) to inject some javascript, to give the admin full freedom to reshuffle the forms the way they want. As for the javascript code needed for your case, it's probably 5 lines, may be magic @erikH could fix it for you?
Answers.UserDisplayName: Xavier
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-25T11:58:29.257Z
Answers.LastActivityDate: 2017-09-25T11:58:29.257Z
Answers.UserDisplayName: Xavier
Body: <p>For the activity type 'petition signed', I want to add a custom field 'event' next to the standard field 'location', because my organization wants to store information about the specific event where a petition signature was obtained and I want to keep the 'location' field clean (= only geographical location).</p>
  
  <p>I can add a custom field, but on the Activity screen, the fields are now visually separated.  I want to keep them together for a better user experience.  Is this possible in any way?</p>
  
  <p><a href="https://i.sstatic.net/Xdyrq.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Xdyrq.png" alt="this is what I did in a test environment.  Fields are not together on the screen"></a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-25T10:24:57.127Z
Comments.Text: Hi Nele, I am not clear on what your are actually asking? What do you mean by 'clean' and what do you mean by 'visually separated'. What do you wan to see? And for other community members here: what CMS are you using and which version of CiviCRM?
Comments.UserDisplayName: ErikH - CiviCooP
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-25T10:46:17.273Z
Comments.Text: Hi, we are on CiviCRM 4.6.24., CMS is Drupal. Immagine an event 'ABC' in 'Brussels'.  I want to store 'ABC' in a field called 'event' and 'Brussels' in the standard field 'location', so that the 'location' field only contains geographical data like a city/country/... and not the event name.  I would like to see the fields on screen next to each other (or one below the other). Can I upload a screenshot to  explain?
Comments.UserDisplayName: nelebuyl
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-25T10:48:00.170Z
Comments.Text: Yes yos you should be able to with the image button. And you can always show me Thursday :-)
Comments.UserDisplayName: ErikH - CiviCooP
Tags: <custom-fields>
Title: Visually group custom and standard fields on screen
ThreadText: # Visually group custom and standard fields on screen
  
  (Asked by: username_0 on 2017-09-25)
  
  For the activity type 'petition signed', I want to add a custom field 'event' next to the standard field 'location', because my organization wants to store information about the specific event where a petition signature was obtained and I want to keep the 'location' field clean (= only geographical location).
  
  I can add a custom field, but on the Activity screen, the fields are now visually separated. I want to keep them together for a better user experience. Is this possible in any way?
  
  [![this is what I did in a test environment.  Fields are not together on the screen](https://i.sstatic.net/Xdyrq.png)](https://i.sstatic.net/Xdyrq.png)
  
  **Tags:** custom-fields
  
  > **Comments:**
  > **username_1**: Hi Nele, I am not clear on what your are actually asking? What do you mean by 'clean' and what do you mean by 'visually separated'. What do you wan to see? And for other community members here: what CMS are you using and which version of CiviCRM?  
  > **username_0**: Hi, we are on CiviCRM 4.6.24., CMS is Drupal. Immagine an event 'ABC' in 'Brussels'.  I want to store 'ABC' in a field called 'event' and 'Brussels' in the standard field 'location', so that the 'location' field only contains geographical data like a city/country/... and not the event name.  I would like to see the fields on screen next to each other (or one below the other). Can I upload a screenshot to  explain?  
  > **username_1**: Yes yos you should be able to with the image button. And you can always show me Thursday :-)  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-09-25. Score: 2
  
  I found easier to move fields on the client side (using jQuery). you could write a simple extension that:
  
  * adds a custom javascript on the specific page(s) you want to modify
  * and that javascript would move the fields to their new location, and presumably hide the custom group "activity metadata"
  
  It's mostly robust, but you would need to check everytime you do an upgrade that the selectors you used are still the same between different civicrm versions
  
  > **Comments:**
  > **username_0**: I was hoping that there might be a way to do this without coding, as I have no such skills.  
  > **username_2**: It's really hard to make a form you can change easily exactly the way you want, and no matter how many options you can come up with, you will aways have one special need that isn't covered ;( we found easier to make it simple(ish) to inject some javascript, to give the admin full freedom to reshuffle the forms the way they want. As for the javascript code needed for your case, it's probably 5 lines, may be magic @erikH could fix it for you?  
  
  ---
  
  