Changing the label of an element in the email

The element’s label is shown in two places:

  • The error page for non-JavaScript users (nojs.php)
  • The notification email

To change the label of the element, locate the line of code that creates the element in process.php. The second string of text you specify when creating the element is the label.

If you wanted to change the type_the_word element to say Security code in the non-JavaScript page for example, then change it like so:

$captcha = new Quform_Element('type_the_word', 'Security code');
$captcha = new Quform_Element('type_the_word', 'Security code');

Still having trouble? Head over to the forums.