You can use the module {module_visitoripaddress} which displays the IP address of the visitor on pages ,with form you would need to insert an input field ( custom field )
<input type="hidden" name="BCNAMECODE" value="{module_visitoripaddress}">
In addition I would also suggest to enable harder captcha which will lower down the spam submission.
Thanks,
Sanjit