Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
Hi,

I have a really basic question. How do I add comments to CouchCMS templates?

I had a contact form that was using a captcha input, and I want to remove the captcha from the form, but leave it in the code in case I want to add it back at a later stage.

I tried using HTML comments, but CouchCMS still detected that the captcha input existed, and of course it was invalid because it wasn't visible, so the form wouldn't submit.

How can I successfully comment out this field, but leave it in place in the template (with appropriate notes attached) so that it's easy to reactivate this field later?

Thank you,

Nikki
Hi Nikkii,

Couch uses cms:ignore for comments e.g.
Code: Select all
<cms:ignore>
This won't be outputted
</cms:ignore>

Hope this helps.
Awesome, thank you.

I knew there had to be a way to do it :D

Thanks for your help!
3 posts Page 1 of 1
cron