Body: <p>I have two webforms. One form contains a set of pre-built components for handling donations. I'd like to copy these donation-related fields from that form and add them to another webform. Is there a way to do this?</p>
  <p>Thanks
  Mike</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-07-31T20:00:51.467Z
Comments.Text: D7 or D8/9/10? In the latter you can potentially copy bits out of yaml and put in to the yaml of the new form
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-07-31T20:01:21.253Z
Comments.Text: but not clear if you are talking civi fields specifically or just webform elements
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-07-31T20:03:56.287Z
Comments.Text: if they are civi fields then the logic may be 1/ enable fields in civi, 2/ overwrite them with the pasted yaml
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-08-02T07:53:51.273Z
Comments.Text: Just webforms and its for D7, although we will be upgrading shortly so good to know about yaml, thanks.
Comments.UserDisplayName: Mike Wilson
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-08-02T20:04:50.547Z
Comments.Text: how about cloning the form? or have you already made the other form?
Comments.UserDisplayName: petednz - fuzion
Tags: <webform-civicrm>
Title: How to copy pre-built fields from one webform to another
ThreadText: # How to copy pre-built fields from one webform to another
  
  (Asked by: username_0 on 2024-07-31)
  
  I have two webforms. One form contains a set of pre-built components for handling donations. I'd like to copy these donation-related fields from that form and add them to another webform. Is there a way to do this?
  
  Thanks
  Mike
  
  **Tags:** webform-civicrm
  
  > **Comments:**
  > **username_1**: D7 or D8/9/10? In the latter you can potentially copy bits out of yaml and put in to the yaml of the new form  
  > **username_1**: but not clear if you are talking civi fields specifically or just webform elements  
  > **username_1**: if they are civi fields then the logic may be 1/ enable fields in civi, 2/ overwrite them with the pasted yaml  
  > **username_0**: Just webforms and its for D7, although we will be upgrading shortly so good to know about yaml, thanks.  
  > **username_1**: how about cloning the form? or have you already made the other form?  
  
  ---
  
  ## 0 answers
  
  