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) »
  • Trouble with StateID on Payment Pages
Pages: [1]

Author Topic: Trouble with StateID on Payment Pages  (Read 465 times)

Max Hunter

  • I’m new here
  • *
  • Posts: 21
  • Karma: 1
  • CiviCRM version: 4.4.x
  • CMS version: Drupal 7
Trouble with StateID on Payment Pages
May 28, 2013, 02:10:37 pm
Hey All,

Seems like some of my users are having trouble with the stateId field not populating when they click "Billing Address is same as above" checkbox.  Looking at billingblock.tpl, it seems like there's a 500ms delay specified to give the event time to populate the list of states:

     if ( stateId ) {
      setTimeout(function(){
         cj( 'select[id^="billing_state_province_id"]').val( stateId );
      }, 500);
     } 
   }
 }

but Firebug tells me that there's a 561ms time for the request.  Should I increase the value of the setTimeout delay?  I'm sure this is a really simple issue, but I'm a total js/smarty noob and wanted to make sure I'm on the right track.  Thanks!

edit: running 4.2 on Drupal 6
« Last Edit: May 28, 2013, 05:19:34 pm by Max Hunter »

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Trouble with StateID on Payment Pages
May 28, 2013, 08:36:22 pm
You should upgrade to the latest version of 4.2 - it has already been fixed.
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Trouble with StateID on Payment Pages

This forum was archived on 2017-11-26.