That form would not prevent spam. You need to use php, asp, asp.net coldfusion or other server side processed method. Typically cgi forms that use the hidden input method are either the old Matt's formmail or similar and none of their authors recommend continuing to use them anymore.