Rupert,
I think that what you want is the strip_tags function. (
manual entry ).
in short, if you have $myFormField you can use
$myFormField = strip_tags($myFormField );
To remove all tags from it. You can also specify allowable tags if you want by using:
$myFormField = strip_tags($myFormField , '<a><b><i><u>');
which would allow links, bold, itallic and underline (for example).
Hope that this is of some help.
M@