Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
commenting the txp code I put in my forms?
I’m building some new forms for my new site layout… and would like to document some of the logic as I go through some sort of code commenting.
I know I can use HTML comments for this, but this tends to end up leaving the comments throughout the final rendered page. Is there some sort of txp convention or tag that would allow me to document my form code without having it show up in my pages?
Alan Macdougall — http://halfpie.net/
Offline
Re: commenting the txp code I put in my forms?
I think wet mentioned this a little while ago. Just use:
<code>
<txp:if_section name=“nonexistant”>
This does stuff.
</txp:if_section>
</code>
Offline
Re: commenting the txp code I put in my forms?
Thanks. That’ll work, even though it’s not quite what I had in mind. :-)
Alan Macdougall — http://halfpie.net/
Offline
Re: commenting the txp code I put in my forms?
Offline