CFMBB Forums
Home | Forums | Profile | Inbox | Members | Chat | Search | Login | RSS
Vivio Technologies Dedicated Hosting
New Topic Reply Subscription Options   Previous Page  Page: 1   Previous Page

Add new member fields

Forums: CFMBB General Discussion:
Created on: 12/10/09 {ts '2010-09-08 13:36:00'} Views: 1815 Replies: 3
Add new member fields
Posted Thursday, December 10, 2009 at {ts '2010-09-08 13:36:00'}

I am trying to add 2 fields to the register form. I have added fnam and lname. I found the query to adduser in the user.cfc but the values for form.fname and form.lname do not seem to be carried through to the query. ANy ideas?

RE: Add new member fields
Posted Friday, December 11, 2009 at {ts '2010-09-08 10:34:00'}

I have added the fields in the login/register page and ten added them to the users.cfc file. Still no go. Where else do I need to add refernce to fname and lname?

RE: Add new member fields
Posted Wednesday, December 16, 2009 at {ts '2010-09-08 11:55:00'}

Re-reading this maybe I wasn't clear. I wanted to add 2 fields to the registration form. These fields would be for first name and last name. I added the 2 fields to the users table in the database as VarChar. I then added the form inputs and called them fname and lname. I found the query to insert new members in the users.cfc file and changed that to insert the two new columns. What I found was that the values of the 2 new form fields (lname, fname) are not being carried through as form.lname or form.fname. I set up arguments for them and cfparam's. What is going on here, any ideas? How can I add these form fields to my registration form?

RE: Add new member fields
Posted Wednesday, December 16, 2009 at {ts '2010-09-08 11:55:00'}

Re-reading this maybe I wasn't clear. I wanted to add 2 fields to the registration form. These fields would be for first name and last name. I added the 2 fields to the users table in the database as VarChar. I then added the form inputs and called them fname and lname. I found the query to insert new members in the users.cfc file and changed that to insert the two new columns. What I found was that the values of the 2 new form fields (lname, fname) are not being carried through as form.lname or form.fname. I set up arguments for them and cfparam's. What is going on here, any ideas? How can I add these form fields to my registration form?

New Topic Reply Subscription Options   Previous Page  Page: 1   Previous Page
Subscription Options
Subscription options are available after you log in.

There are 14 active user sessions right now.