How can I duplicate inputs from one form into another automatically?