Add an Anti-spam CAPTCHA

  1. Add this line of code to your Telegraph configuration file:
    <directive action="captcha"  />
  2. If used on a form that uses the Cashier directive, use the the Captcha directive first and include “_skip” parameter:
    <directive action="captcha" _skip="[if?:transactionId=::yes]" />

No other code is required. Any form using the captcha directive will follow normal validation (if used) and then display a picture-based CAPTCHA. Once the user enters and submits the correct text, the form data will itself be submitted (i.e., emails sent, spreadsheets updated, etc.).

Telegraph does not currently provide an audio-based CAPTCHA option.