Trouble in form land ! HELP PLZ

Hi, I need to create a form that has:

Contact name: var:contact

Phone number: var:phone

Email Adress: var:email

Comments: var:comments

Ive made all the of these sections with input text and variable names as showen, but this is not the were the problem lays, I have also created 2 buttons a submit button and a clear button, and when it comes to adding actionscript and what not to them then im stumped can anyone tell me what actionscript I need to do so.
thankyou in advance.

Jimmy