An easy way to prevent spam on your forms is to add a captcha field. This fields displays an image which contains a string. Your users need to input the string in the text box in order to submit the form.

The text in the image is slightly obfuscated which prevents bots from guessing the string correctly.