sweta.tests Posted October 2, 2014 Report Share Posted October 2, 2014 Hi, I have added extra fields required for domain registration in config files. I want to write jquery code for it. i.e if user has selected entity type = person display fields related to it. if(entity = "person"){ //Show person related fields } elseif( entity = "company"){ //Show company related fields } Where can I write this kind of jquery code? Quote Link to comment Share on other sites More sharing options...
0 Blesta Addons Posted October 2, 2014 Report Share Posted October 2, 2014 Normally you should ad your code the order template file (registration template) . have you tried my css & javascript toolbox plugin ? Quote Link to comment Share on other sites More sharing options...
0 sweta.tests Posted October 9, 2014 Author Report Share Posted October 9, 2014 Normally you should ad your code the order template file (registration template) . have you tried my css & javascript toolbox plugin ? I cannot use your plugin. Can I add code to config file or somewhere else. Quote Link to comment Share on other sites More sharing options...
0 Blesta Addons Posted October 9, 2014 Report Share Posted October 9, 2014 as i told you before, in registration template file under order plugins . Michael 1 Quote Link to comment Share on other sites More sharing options...
0 Michael Posted October 9, 2014 Report Share Posted October 9, 2014 I cannot use your plugin. Can I add code to config file or somewhere else. How come? You do need Blesta 3.3 but it's worth it. Quote Link to comment Share on other sites More sharing options...
0 sweta.tests Posted October 9, 2014 Author Report Share Posted October 9, 2014 as i told you before, in registration template file under order plugins . I am trying to create module. If I will do anything in plugins it will be applied to only my blesta version and will not work for others who will use my module. Quote Link to comment Share on other sites More sharing options...
0 Blesta Addons Posted October 9, 2014 Report Share Posted October 9, 2014 I am trying to create module. If I will do anything in plugins it will be applied to only my blesta version and will not work for others who will use my module. you want to put this in your module action ? creation / suspend /edit ? the config file is not supporting jquery code or any type of css .... what you need is to make a validation with input on submit form (getrules()) . check this post can help you http://www.blesta.com/forums/index.php?/topic/3291-how-to-transfer-domain-from-admin-panel/?p=24037 Michael 1 Quote Link to comment Share on other sites More sharing options...
Question
sweta.tests
Hi,
I have added extra fields required for domain registration in config files.
I want to write jquery code for it. i.e if user has selected entity type = person display fields related to it.
Where can I write this kind of jquery code?
Link to comment
Share on other sites
6 answers to this question
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.