How to make firstname and lastname as a required fields?

A place to discuss and receive support for the Web Auction application.

How to make firstname and lastname as a required fields?

Postby marko » Sun Sep 25, 2011 11:44 pm

Hi Steve,

Just a newbie,into registration page i would like to ask and need held how to make firstname, lastname, as a required fields.?
Also can i change the field name department into address, it is possible and easy to change and there's no other page conflict.?

Thanks and regards,

Marko
marko
 
Posts: 7
Joined: Thu Sep 08, 2011 10:21 pm

Re: How to make firstname and lastname as a required fields?

Postby shannah » Mon Sep 26, 2011 11:50 am

how to make firstname, lastname, as a required fields.?

Set them to be NOT NULL in MySQL.

change the field name department into address

You could just change the field label of the department field in the fields.ini file.
However it is probably better to actually add an address field to the users table instead.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: How to make firstname and lastname as a required fields?

Postby marko » Thu Sep 29, 2011 4:07 am

thank you steve, it works... i have also question, i want to put the email and verify email, like the password retype password but i dont know where the code, hope you can help me with my problem...

-* it is possible in web auction redirect to payment online after they put the bid?

Thanks and regards,

Marko
marko
 
Posts: 7
Joined: Thu Sep 08, 2011 10:21 pm


Return to Web Auction Discussion

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved