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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • turning off spinning icon on crmAutocomplete on public profiles
Pages: [1]

Author Topic: turning off spinning icon on crmAutocomplete on public profiles  (Read 860 times)

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
turning off spinning icon on crmAutocomplete on public profiles
December 16, 2011, 07:25:18 pm
crmAutocomplete fields don't work for anonymous users in profiles included in a contribution page.  That's good, but the crmAutocomplete field still tries to get data, still spins the little icon when an anonymous user starts typing.

Plenty of documentation about the params for crmAutocomplete, can't find anything about turning it off.  If I knew how to jQuery this, I could put it in a block visible only to anonymous users and I'd be all set.

tried:
Code: [Select]
cj('#custom_18').crmAutocomplete(false);

Ideas?  thanks :)
« Last Edit: December 16, 2011, 07:32:52 pm by Stoob »
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: turning off spinning icon on crmAutocomplete on public profiles
December 19, 2011, 01:04:04 pm
That is the ID of the input box? Are you certain your code is running after the default code sets up that autocomplete?

Can you post a URL so I can see the page? If not, send it to me privately.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: turning off spinning icon on crmAutocomplete on public profiles
December 19, 2011, 11:35:25 pm
Stuart,

Try below code

Quote
cj('#custom_18').unautocomplete( );

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • turning off spinning icon on crmAutocomplete on public profiles

This forum was archived on 2017-11-26.