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) »
  • [Solved] Where is the username field? It's missing!
Pages: [1]

Author Topic: [Solved] Where is the username field? It's missing!  (Read 2725 times)

jgaryt

  • Guest
[Solved] Where is the username field? It's missing!
March 06, 2009, 12:58:43 pm
Installed Civicrm 2.2 on drupal 6.10

Contrib page has option to force Drupal membership too (can't join site without going thru contrib page)

Contrib page says:
Quote
If you would like to create an account on this site, check the box below and enter a user name . If you already have an account, please login before completing this form.

But there is no "username" field on the form, nor a checkbox (but there should not be a checkbox as it's REQUIRED).  Completing contib form and submitting yelds:
Quote
Please correct the following errors in the form fields below:
    * Username is a required field.

How do you complete a field that you can't see?

jgaryt
« Last Edit: March 07, 2009, 08:24:43 pm by jgaryt »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Where is the username field? It's missing!
March 06, 2009, 03:52:25 pm

can u reproduce this error on demo and file an issue. We need to fix the wording on the error message

please ensure that you test both cases: with anon (where username field should appear) and as demo (where the entire block is suppressed)

thanx

lobo
 
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Where is the username field? It's missing!
March 06, 2009, 05:26:37 pm
You might also want to verify that your Drupal User Settings meet the requirements in the help for that Profile setting: "This feature requires the 'Email Verification' option to be checked (Drupal User Settings). "
Protect your investment in CiviCRM by  becoming a Member!

jgaryt

  • Guest
Re: Where is the username field? It's missing!
March 06, 2009, 07:27:52 pm
Well, that's what is interesting to me; as this is functionality I really needed and was missing in 2.1.4, I went to the 2.2 demo site and created close to what I need in a contrib page and a signup workflow.  When I saw it working on the demo, I went for it and upgraded my almost production site.

I'll try to reproduce it on the demo exactly as I have it on my site (a lot of work!) and report back.  But in the meantime, what combination of options might cause the "force drupal membership" option to show incorrect parameters to the user?

Thanks!

jgaryt

jgaryt

  • Guest
Re: Where is the username field? It's missing!
March 06, 2009, 08:15:43 pm
And yes, my settings for email verification were set at the time of the error too.  Thanks for the reminder though, it's a bit of a tricky one to catch...

jgaryt

  • Guest
Re: Where is the username field? It's missing!
March 06, 2009, 09:01:33 pm
Well, I recreated the contrib page and it works flawlessly: https://drupal.demo.civicrm.org/civicrm/contribute/transact?reset=1&id=7. (jgaryt Test Contributions Form)

The ONLY difference was that I used a preconfigured profile "Name and Address" and just copied it as a starting point for "Copy of Name and Address", and did not include an email field in that profile when I customized it.  One of those two things might point to the problem.

I will go back and troubleshoot my form.

Thanks for your very timely help!

jgaryt

jgaryt

  • Guest
Re: Where is the username field? It's missing!
March 06, 2009, 09:14:31 pm
Here's my client's form: https://www.getamericaright.org/civicrm/contribute/transact?reset=1&id=1.  It's still showing the same behavior.  If the Profile of "Name and Address" is a default...I must have deleted it as I don't have it now.  But there seems to be nothing special about it.

Anyway, you can see it's exhibiting the same behavior for anonymous users.  For logged in users it's fine.

Thanks again.

jgaryt

jgaryt

  • Guest
Re: Where is the username field? It's missing!
March 07, 2009, 08:17:17 am
Update:

No matter what I do - create new profile with just name field, reset the create account options on the profile - the last option for "Account creation required" does not work.  The other two option - no account and account optional, do work as they should.

I tested my page (and the demo page) in Firefox, IE7, Safari, Opera, and Chrome.  Same results.

At this point I am very confused as to why it works on the demo but not on mine, and no options I have tried fixed it on my version.
But I still appreciate the help.

jgaryt

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Where is the username field? It's missing!
March 07, 2009, 11:13:53 am
Sorry to join in late - not sure what
Quote
It's still showing the same behavior.
means at this point. Is the problem still about 'user name' field not showing? It only shows when you/I check the Create An Account box. Works for me on your site.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

jgaryt

  • Guest
Re: Where is the username field? It's missing!
March 07, 2009, 11:24:45 am
You must have looked at my page when I had the "optional membership" turned on.  I agree that it does work when the Drupal membership is optional, but not when it's required.

The more I play around with this scenario, the more I see a challenge in the workflow, but I should start a new discussion for that. [did so at http://forum.civicrm.org/index.php/topic,6947.0.html]
« Last Edit: March 07, 2009, 08:26:45 pm by jgaryt »

jgaryt

  • Guest
Re: Where is the username field? It's missing!
March 07, 2009, 08:24:23 pm
Clearing the template_c folder fixed the missing username box!  I cleared it to fix another issue, and happily saw that it fixed this too.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • [Solved] Where is the username field? It's missing!

This forum was archived on 2017-11-26.