solved Getting Custom Fields to Show

alt=
@dcr
8 years ago
12 posts
Hello,

I am trying to add custom fields to the Create Account form. I went to /user/signup and used the Form Designer to add the fields.

When I am logged in as admin, the new fields show up. I have them set as "Required" and "Active."

However, when I am not logged in and I go to the site as if I were a new user, the new fields do not show up on the Create Account form.

What do I need to do to get those fields to show?

Thanks!
updated by @dcr: 06/13/16 06:19:20AM
brian
@brian
8 years ago
10,148 posts
dcr:
What do I need to do to get those fields to show?

Go back to the Form Designer and "modify" your custom field - make sure the Display Groups is set to "All Users (including logged out)" and save.

Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
@dcr
8 years ago
12 posts
Yes! That did it. Thanks!
alt=
@dcr
8 years ago
12 posts
Another question... Is there a way to get the content from the custom fields to show in the notification eMail sent to the admin?
michael
@michael
8 years ago
7,746 posts
email is a little trickier to debug because the smarty debug console does not have a browser to popup into, but all the email templates are constructed via a .tpl file so you can run any template code in an email template the same way you run it in a skin template.

Docs: "{debug}"
https://www.jamroom.net/the-jamroom-network/documentation/development/1477/debug

The email template in question is:
/modules/jrUser/templates/email_notify_signup_message.tpl

I think so you'll probably be interested in this doc:

Docs: "Altering a modules template"
https://www.jamroom.net/the-jamroom-network/documentation/development/1051/altering-a-modules-template

The variable might be there already, but if its not you can get it with the existing info and a jrCore_list call

Docs: "{jrCore_list}"
https://www.jamroom.net/the-jamroom-network/documentation/development/89/jrcore-list
updated by @michael: 03/12/16 12:25:53PM
alt=
@dcr
8 years ago
12 posts
That was easy. Thanks!

I just have to remember to clear the cache after making changes like this. ;)
paul
@paul
8 years ago
4,331 posts
Tip - When developing set the 'Run in Developer Mode' option to disable caching and to see your changes immediately - ACP=>Developer=>Developer Tools=>Global Config
hth


--
Paul Asher - JR Developer and System Import Specialist

Tags