Forum OpenACS Development: ad_form validate

Collapse
Posted by Paul Owen on
is there any quick way to check whether input of a text box contains html tags such as </form> or </table> instead of using reg exp?

however, i would also like to allow user to put in tags like <b></b> or <code></code>

Thanks very much

Collapse
2: Re: ad_form validate (response to 1)
Posted by Paul Owen on
o, and also, how could i change the appearance of ad_form apart from including a style sheet on every pages i call it
Collapse
3: Re: ad_form validate (response to 1)
Posted by Lars Pind on
Check out ad_html_security_check.
Collapse
4: Re: ad_form validate (response to 1)
Posted by Jade Rubick on
Paul, for your second question: http://rubick.com:8002/openacs/ad_form
Collapse
5: Re: ad_form validate (response to 1)
Posted by Paul Owen on
Thanks guys 😊