Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-04-12 11:27:36

wii
Member
Registered: 2005-05-08
Posts: 77

Disable <p> ?

Sound strange, but I need to find out how I can disable textpattern adding <p> before my custom output form in an article. I´m including a javascript code using a form, which works fine, but I get 1 validation error, which I would like to avoid. Textpattern add a <p> before my script.

Offline

#2 2007-04-12 14:59:52

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Disable <p> ?

Add a space before the output_form tag.

Offline

#3 2007-04-13 03:46:23

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Disable <p> ?

notextile. <txp:output_form form="your_form" />

Offline

#4 2007-04-13 21:15:48

wii
Member
Registered: 2005-05-08
Posts: 77

Re: Disable <p> ?

Cool, thanks

Offline

Board footer

Powered by FluxBB