Jump to content

Add an onchange event on dropdown menu in step3 in order.php


Recommended Posts



I've this kind of situation in my additionaldomainfields



$additionaldomainfields[".it"][] = array(

"Name" => "Tipo di Soggetto",

"Type" => "dropdown",

"Options" => "Privato cittadino,Ditta Individuale,Società,Libero Professionista,Associazione Professionale,Ente no-profit,Ente pubblico,Organizzazione Estera",

"Default" => "",

"Required" => true,



I want to hide/show the rest of fields present on form accordingly to the item is selected by the user, so I've think to add an onchange event that recall a js on the select.

It's possibile? What kind of 'key' are available to customize fields?


best regards

Francesco Scarfato


Link to comment
Share on other sites

  • 3 years later...

Sorry to bump this, but i would like to know if this is possible.


We have some radio options that we would like to filter depending on wich option was selected on a dropdown.





Dropbox: [shared Hosting] | [Dedicated Hosting]


If Shared Hosting was selected, show:


- Windows Shared;

- Linux Shared;


If Dedicated Hosting was selected, show:


- Windows Shared;

- Linux Shared;

- BSD Shared;

- macOSx Shared;


(this is only an example, we will not use this for any other thing than domains)

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.

Reply to this topic...

×   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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated