Adding multiple form elements

Adding multiple form elements

Is it possible to duplicate a few form elements on click of a button?

 

For example if we have a form with the following fields:

 

1. Name

2. Address

 

and we have a button that says add a member

 

on clicking of which the same two fields above should be added:

1. Name

2. Address

 

 

Hope someone can help!

 

Norbert