This topic contains 3 replies, has 2 voices. Last updated by Matt Denman 3 years, 9 months ago.
Topic Author | Topic |
---|---|
Posted: Wednesday Apr 3rd, 2013 at 7:31 am #46455 | |
I really like what I see in s2Member and want to upgrade to pro, but have one concern holding me back. I need to be able to do an ajax call to an external system to validate the user name picked by a registering user. I’d like for that ajax call to happen on the blur event of the user name field. I know that I can customize the registration template in pro and do it that way, but I’m concerned because that approach doesn’t unify the naming requirements of wordpress with the external system. What if the external system says the user name is valid but wordpress says it isn’t? The scenario I worry about is the user types a user name, tabs off the field, see’s the green checkbox from my external system check and then gets an invalid user name error when they submit the registration. Is there a way to validate the user name with wordpress via ajax so that I can check both systems? Is there a known pattern of integrating with an external system? |