Simon_PP Posted January 30, 2009 Share Posted January 30, 2009 Hi, I am selling hosted email accounts. I have created a custom field "User name" for the product which is used for their personal email address (username@company.com). Is there a way for me to check if the user name already exist in our database when the customer clicks on the continue button on the order form? or is there a proper way of doing this? TIA for your reply. -Simon 0 Quote Link to comment Share on other sites More sharing options...
poppabear Posted February 2, 2009 Share Posted February 2, 2009 I would also like to know if this is possible as i am integrating some nice features to the new WHMCS. Maybe some custom modules to allow for email hosting with Directadmin control panel. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted February 2, 2009 Share Posted February 2, 2009 Is there a way for me to check if the user name already exist in our database when the customer clicks on the continue button on the order form? A simple bit of sql in the .tpl should do it 0 Quote Link to comment Share on other sites More sharing options...
Simon_PP Posted March 12, 2009 Author Share Posted March 12, 2009 ^would you be able to give me some tips in terms of which files i should be looking at to add this? 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted March 14, 2009 Share Posted March 14, 2009 select value from tblcustomfieldvlaues where fieldid=(yourcustomfieldnumer) and value=(yourvalue) ... if there's a record, tell them to pick another 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.