1
kalamata
User Registration
  • 2005/6/7 18:49

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


Dear All,

I want the users of my site when registering to fill in certain boxes - say their MSN box.

My understanding is that it would be achieved through Javascript - however I do not know what file to modify - think it is include/regform.php but I am not sure how to apply the changes.

Could somebody please help?

Thanks,
George

2
wtravel
Re: User Registration

In the file include/registerform.php you see lines like this:

$reg_form->addElement(new XoopsFormText(_US_WEBSITE, "url", 25, 255, $url));

If you want to make a form element required, change the last bit of the line, like this:

$reg_form->addElement(new XoopsFormText(_US_WEBSITE, "url", 25, 255, $url), true);

3
kalamata
Re: User Registration
  • 2005/6/7 19:41

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


Great, works fine. Is there a way we can get documentation about these PHP functions, what arguments they expect, what is their functionality and so on?

If possible, that would be ideal.

Thanks,
George

4
Mithrandir
Re: User Registration

Quote:

kalamata wrote:
Is there a way we can get documentation about these PHP functions, what arguments they expect, what is their functionality and so on?

XOOPS Dev Wiki is the best we can do at this point.

Login

Who's Online

185 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 185


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