Jump to content
  • 0

Question

Posted

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?

6 answers to this question

Recommended Posts

  • 0
Posted
  On 10/2/2014 at 9:17 AM, naja7host said:

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.

  • 0
Posted
  On 10/9/2014 at 6:25 AM, sweta.tests said:

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.

  • 0
Posted
  On 10/9/2014 at 10:17 AM, naja7host said:

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.

  • 0
Posted
  On 10/9/2014 at 10:45 AM, sweta.tests said:

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...