Support (offered by community volunteers) > Using Profiles
TIP: How to copy address to Profile using JavaScript "Same as billing address"
JulesM:
Ahh. How daft of me. Thank you. Got it.
JulesM:
Just a note of what I'm getting here on this subject, on a test domain, 4.2 Beta 3.
Front End:
- Sometimes the State field still doesn't populate. Even if the Country field is selected above it in the first profile - as explained earlier in this thread. Only way to populate it is to click the checkbox on and off a few times. Nobody is going to do that filing out a donation form.
- After enabling the Pay Later option in the back end, the "Billing Address is same as above" checkbox disappears from the front end.
Back End:
-On an arbitrary contribution form, filling out the Amounts section is a pain. It saves the inputs sporadically. Meaning, sometimes it'll save what you input into the fields, and sometimes it won't. Also, it does not save at all unless you have both the Contribution Label and the Amount sides filled out --something that's annoying because it shows up looking confusing on the front end.
Just my 2cents. Sorry I don't have any fixes for these.
flug:
--- Quote from: JulesM on August 15, 2012, 05:49:29 pm ---Just a note of what I'm getting here on this subject, on a test domain, 4.2 Beta 3.
Front End:
- Sometimes the State field still doesn't populate. Even if the Country field is selected above it in the first profile - as explained earlier in this thread. Only way to populate it is to click the checkbox on and off a few times. Nobody is going to do that filing out a donation form.
- After enabling the Pay Later option in the back end, the "Billing Address is same as above" checkbox disappears from the front end.
--- End quote ---
Just a ditto on that for 4.2.0 stable. I can't get the state field to auto-populate at all, even with repeated clicks of the check box. It flashes up momentarily but then almost immediately reverts to "- select a state - ". This is even after adding the country field to the profile above.
Also, just a random thought, but if you happen to put the address profile on the bottom, then the wording "billing address is same as above" doesn't work because the address it is copying from is below. Ideally it would switch to "billing address is same as below" but maybe there is some tricky wording that could work for both cases.
Dave Greenberg:
Are you seeing any Javascript errors reported?
Would be helpful if you could replicate your setup and the problem behavior on our 4.2 public demo.
http://drupal.demo.civicrm.org/
Navigation
[0] Message Index
[*] Previous page
Go to full version