Forum

Thread tagged as: Question, Problem, Blog

Checkbox - resulting in a '1' being displayed

Hi there

https://lovebedfordbusinesses.co.uk/businesses/business.php?s=5th-avenue-hair-beauty-spa

As you can see here I am displaying a voucher ribbon, if a checkbox is ticked within post.html (Blogs app)

 <perch:blog label="Accepts vouchers?" type="checkbox" id="vouchers"/><perch:if exists="vouchers"> <p class="ribbon">
   <strong class="ribbon-content"><a href="https://www.lovebedford.co.uk/vouchers/town-centre-gift-vouchers.php" title="Find out more about Bedford Town Centre Gift Vouchers">Accepts Love Bedford vouchers</strong> - find out more</a>
</p></perch:if>

However, although this is successfully producing the ribbon, it is also producing a '1' above it. How can I get rid of this?!

Thanks

Rich

Rich Hemery

Rich Hemery 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Add suppress="true" to the field to stop it being output.