faisal Posted May 5, 2015 Share Posted May 5, 2015 Hi all, In some product you need the client to select some option based on another, for simple example if select Linux OS in the first option he can select only Control panels for Linux in the next option. I don't see WHMCS team talking about this anywhere so I assume it will not come any soon. I would like to ask the community if someone did any solution on this? I have find jquery plugins but I haven't tray to integrate any of theme yet Please check and give your advise if you think that one of the following looks good to integrate or if you did something like this. Or whatever idea you think it might help. Dependent Dropdown: Webpage: http://plugins.krajee.com/dependent-dropdown Demo: http://plugins.krajee.com/dependent-dropdown/demo GitHub: https://github.com/kartik-v/dependent-dropdown Chained Selects jQuery Plugin: Webpage: http://www.appelsiini.net/2010/jquery-chained-selects Demo: http://www.appelsiini.net/projects/chained/demo.html GitHub: https://github.com/tuupola/jquery_chained 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted May 6, 2015 Share Posted May 6, 2015 In my opinion if you have to deal with dependencies in your forms it's better if you directly create a custom page. It's faster and easier. Create your spectacular page with your awesome forms, grab all data you need and there send everything to WHMCS via API. For example take a look here. I was tired of dealing with users registering with wrong format, missing fields etc. so I made a fully working page for dependencies, format and normalize data. If everything is ok I send an API command to register the user. You could adopt the same approach for your page. 0 Quote Link to comment Share on other sites More sharing options...
faisal Posted May 6, 2015 Author Share Posted May 6, 2015 Yeah, But you need to make a custom service upgrade page as well. I think if possible to integrate this into order form and the service upgrade page would be better. Likewise maybe custom pages is an easy way to do it. 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.