hamzaavvan Posted August 19, 2016 Share Posted August 19, 2016 Well i'm totally new to WHMCS, i got this as my first project. So ! i updated my domain registrar with a form which has some fields namely username, password and a checkbox. But don't know how should i execute the form to update db table with supplied values? Should i need a function to perform this operation or should i need to create a table manually for this setup i.e to insert the username, password and checkbox value manually with laravel capsules function and update when needed. But my senior told me that creating an extra table for this task won't be a appropriate way, so what should i do please help me i'm very confused Thanks in advance. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted August 20, 2016 Share Posted August 20, 2016 was this form created by _getConfigArray function, then WHMCS will automatically save these fields values 0 Quote Link to comment Share on other sites More sharing options...
hamzaavvan Posted August 21, 2016 Author Share Posted August 21, 2016 Thanks for replying, mr sentq. Yes the form was created by _getConfigArray function, but now the thing is that how can i retrieve those values, is there any way ? I checked the documentation but can't find anything. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted August 21, 2016 Share Posted August 21, 2016 each function included in this registrar module will pass these values in the $vars array http://docs.whmcs.com/Registrar_Module_Developer_Docs#Product_Configuration_Options # Other parameters used in your _getConfigArray() function would also be available for use in this function 0 Quote Link to comment Share on other sites More sharing options...
hamzaavvan Posted August 22, 2016 Author Share Posted August 22, 2016 Well you're right, but for GetNameservers because i'm not getting the right password value inside RegisterDomain and TransferDomain. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted August 23, 2016 Share Posted August 23, 2016 how is your _getConfigArray() code looks like? 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.