1
landry
Custom Registration Form
  • 2005/6/12 17:41

  • landry

  • Just popping in

  • Posts: 22

  • Since: 2005/6/7 2


Hello

I am new to XOOPS and am modifying the registration form to include additional information such as first and last names, address, phone, fax, etc.

I have added the additional fields in register.php and registerform.php by duplicating and renaming existing fields (see code samples below) but have not found the file with the database calls so that I can ensure that the new info gets stored in the db.

Can someone point me in the right direction?

thanks
LB


------


Samples of changed code:

register.php
- echo "First Name: ".$myts->makeTboxData4Preview($firstname)."
";

- input type='hidden' name='firstname' value='".$myts->makeTboxData4PreviewInForm($firstname)."'


registerform.php
- $reg_form->addElement(new XoopsFormText("First Name", "firstname", 26, 25, $firstname), true);

2
landry
Re: Custom Registration Form
  • 2005/6/12 17:47

  • landry

  • Just popping in

  • Posts: 22

  • Since: 2005/6/7 2


Hmm, I think this should have been posted in the Beginner's Corner. Sorry about that. Please refer to my post there.

Login

Who's Online

203 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 203


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits