| Author |
Message |
neggard Hangin' Around

Joined: Jan 20, 2006 Posts: 40 Location: Seden
|
Posted:
Wed Feb 01, 2006 8:38 pm |
|
When I add a new line in register and chose need to register or show in register it always show (required) in new user registration.
If I choose need on register I need to write some in it to register.
If I choose show on register it says (required) but I dont need to write any in the row.
How could I change that? |
|
|
|
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 6044
|
Posted:
Wed Feb 01, 2006 9:20 pm |
|
Edit /modules/Your_Account/language/lang-english.php (or other appropriate language file). |
|
|
|
 |
neggard Hangin' Around

Joined: Jan 20, 2006 Posts: 40 Location: Seden
|
Posted:
Thu Feb 02, 2006 2:55 am |
|
I look in my language file but dont know what to edit.
I use the language file that comes with CNBYA.
I use standard so everyone should have this error if its in your default files. |
|
|
|
 |
sting Involved


Joined: Sep 23, 2003 Posts: 460 Location: Somewhere out there...
|
Posted:
Thu Feb 02, 2006 8:57 am |
|
The (required) if I remember correctly on this one is actually in the Your Account module index.php.
Look for the occurrence of the next to the line that you do not want required and remove it or add it, as the case may be.
Hope that helps.
-sting |
|
|
 |
 |
neggard Hangin' Around

Joined: Jan 20, 2006 Posts: 40 Location: Seden
|
Posted:
Thu Feb 02, 2006 4:35 pm |
|
Maybe its this line in my language file
define("_REQUIRED","(required)");
The problem is that the extra field I want required it should stand (required),
and the extra field that I dont want to have required it should not stand required.
The problem is.... It dosent make a different if I choose required or show in register, it always stand (required) in front of it. |
|
|
|
 |
|
|
|
|