Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

comment out tbl-error for login password

Asked Modified Viewed 1,324 times
C
chrome511
C
sorry for my english.
i´m from germany
  • Member, joined since
  • Contributed 73 posts on the community forums.
  • Started 18 threads in the forums
  • Started this discussions
asked
Member

where can i comment out the tbl-error for

$locale['u134'] = "New login password";
$locale['u135'] = "Confirm password";

in UserFields.class.php?
0 replies

4 posts

K
KasteR
K
KasteR 10
  • Senior Member, joined since
  • Contributed 290 posts on the community forums.
  • Started 1 thread in the forums
answered
Senior Member

Not sure what exactly you're after, I'm guessing this is what you're looking for:

UserFields.class.php (line 95):
add_to_footer($this->js);


UserFields.class.php (line 464):
return " tbl-error";


If you simply comment those two lines out, it will not add the "tbl-error" class to your form fields. Just remember, there is then no notification to the user of any error. I'm guessing that you're replacing the system with some customized version..
0 replies
C
chrome511
C
sorry for my english.
i´m from germany
  • Member, joined since
  • Contributed 73 posts on the community forums.
  • Started 18 threads in the forums
  • Started this discussions
answered
Member

only login password should show the error not the other two
Edited by chrome511 on 24-11-2015 11:25,
0 replies
K
KasteR
K
KasteR 10
  • Senior Member, joined since
  • Contributed 290 posts on the community forums.
  • Started 1 thread in the forums
answered
Senior Member

I guess it depends on the scenario. The login password should error when incorrect. Also, optionally you can change your password. However these fields must match. This is the purpose of the highlighting of those fields.
0 replies
C
chrome511
C
sorry for my english.
i´m from germany
  • Member, joined since
  • Contributed 73 posts on the community forums.
  • Started 18 threads in the forums
  • Started this discussions
answered
Member

ok
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

K
K
KasteR 10
  • Senior Member, joined since
  • Contributed 290 posts on the community forums.
  • Started 1 thread in the forums
C
C
sorry for my english.
i´m from germany
  • Member, joined since
  • Contributed 73 posts on the community forums.
  • Started 18 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet