Help with script to create a new record on user action

Help with script to create a new record on user action

Can someone help me, I need to create multiple records based on user input (radio button), replicates of original records with only date fields modified.

any examples where this is done?