I want to strip html-tags from a text that is put into a form.
The code is:
<form name="agentForm">
<input type="hidden" name="agentText" value="<?php echo $chapter->content)?>">
</form>
I'm aware of a filter 'format_text', but don't know the syntax for getting plain text.
Any clues?
Best regards
MOrten