CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • tell-a-friend -- autocompletes values
Pages: [1]

Author Topic: tell-a-friend -- autocompletes values  (Read 548 times)

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
tell-a-friend -- autocompletes values
March 19, 2010, 08:10:36 am
The tell-a-friend page may autocomplete the values of the field if the form has been used previously, and depending on the browser. Those fields should be forced empty.

Recommend we alter: CRM/Friend/Form.tpl
Lines 77-79:

Code: [Select]
<td class="even-row">{$form.friend.$idx.first_name.html|crmInsert:autocomplete:off}</td>
<td class="even-row">{$form.friend.$idx.last_name.html|crmInsert:autocomplete:off}</td>
<td class="even-row">{$form.friend.$idx.email.html|crmInsert:autocomplete:off}</td>

(use crmInsert to force autocomplete off)
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • tell-a-friend -- autocompletes values

This forum was archived on 2017-11-26.