Jump to content
  • 0

Jquery For Extra Fields Of Domain


sweta.tests

Question

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?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...