•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ColdFusion section within the Web Development category of DaniWeb, a massive community of 373,481 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,929 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ColdFusion advertiser:
Views: 3815 | Replies: 1
![]() |
•
•
Join Date: Jul 2004
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
I can't seem to find a tutorial or anything about this kind of registration form. It is extremely urgent, so any help is *greatly* appreciated.
Ok, i have a registration form needing to submit the following information:
DSN: userlogin
User_ID: i want this submitted to all the tables in my database. It's not an autonumber.
Align_Name: I want this submitted to the alignment table only.
And last, I want the email, password, and user_name submitted to the registration_form table.
Also if you have any other tips - THANKS!
Ok, i have a registration form needing to submit the following information:
DSN: userlogin
User_ID: i want this submitted to all the tables in my database. It's not an autonumber.
Align_Name: I want this submitted to the alignment table only.
And last, I want the email, password, and user_name submitted to the registration_form table.
Also if you have any other tips - THANKS!
•
•
Join Date: Jul 2004
Posts: 8
Reputation:
Rep Power: 0
Solved Threads: 0
This should get you started
<cfform Action= "Put the name of the page that your insert query is on" Method= "Post" Name="InsertCustInfo" enablecab="Yes">
First Name: <input type="text" Name="FName">
Last Name: <input type="text" Name="LName">
EMail: <input type="text" Name="Email">
UserName: <input type="text" Name="UserName"></td></tr>
Password: <input type="text" Name="Password">
<td><INPUT type ="Submit" Value ="Submit"></td>
</cfform>
Query page
<cfquery datasource="myDSN" name="GetCustInfo">
INSERT INTO CustTable (CustFirstName, CustLastName, CustAddress, CustCity, CustZipCode, UserName, Password, Password2)
VALUES ('#Form.FName#', '#Form.LName#', '#Form.Email#', '#Form.UserName#', '#Form.Password#')
</cfquery>
<cfform Action= "Put the name of the page that your insert query is on" Method= "Post" Name="InsertCustInfo" enablecab="Yes">
First Name: <input type="text" Name="FName">
Last Name: <input type="text" Name="LName">
EMail: <input type="text" Name="Email">
UserName: <input type="text" Name="UserName"></td></tr>
Password: <input type="text" Name="Password">
<td><INPUT type ="Submit" Value ="Submit"></td>
</cfform>
Query page
<cfquery datasource="myDSN" name="GetCustInfo">
INSERT INTO CustTable (CustFirstName, CustLastName, CustAddress, CustCity, CustZipCode, UserName, Password, Password2)
VALUES ('#Form.FName#', '#Form.LName#', '#Form.Email#', '#Form.UserName#', '#Form.Password#')
</cfquery>
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb ColdFusion Marketplace
- a blank form to insert data???? (Visual Basic 4 / 5 / 6)
- Product Registration Code! (Visual Basic 4 / 5 / 6)
- Help With Registration Form (JSP)
- Creating Auto-Responder in PHP (PHP)
- php wont submit data into the database (PHP)
- How to entice people to actually register? (Growing an Online Community)
- PHP Login (PHP)
- No Posts? (DaniWeb Community Feedback)
Other Threads in the ColdFusion Forum
- Previous Thread: Setting up user name and password
- Next Thread: IF statement


Linear Mode