ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Invalid characters

June 11, 2008 1:03pm

Subscribe [0]
  • #1 / Jun 11, 2008 1:03pm

    bhggraphicdesign

    52 posts

    I’m in the process of building an Ajax login/register form and would like to validate the fields via JavaScript before submitting. I want to make sure the username and password are valid, but I don’t know what will be labeled invalid characters by EE. (Depending on circumstances, the user may have already registered “normally”, so I have to match EE.) I’d be far easier to find them before submission as this would give me one fewer response to parse.

    core.validate.php only seems to have a problem with “|”, “’”, and “!” for the username and “<” and “>” for the screenname. cp.members.php only allows alphanumeric and “_” and “-” for the profile. So obviously I’m not seeing something somewhere. Can someone help?

    I’m using 1.63.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases