• Is it possible to enable or disable certain elements based on input from other elements??

    For Example our site is CD DVD Printing service site and we have options available for customers to select if they want the printed surface Matt or Glossy but this option is not available on all types of Discs that we print on so I need to disable if they are select a Disc type that we can not do it on

    Is the functionality available in its current form?

    https://www.ads-software.com/extend/plugins/jazzy-forms/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author jazzigor

    (@jazzigor)

    Hi. No, sorry. That’s not done yet. The current visibility options “Always” and “Never” suggest that there will also be something like a “Sometimes” or “When condition is met”. That’s definitely on my to-do list. However until your question I had only show/hide in mind, not enabled/disabled. I will track this issue as https://github.com/l90r/jazzy-forms-dev/issues/54 . Thank you very much for the suggestion.

    Thread Starter plnewton

    (@plnewton)

    Not to put any pressure on you ?? but how far off do you think this functionality is?
    The reason i ask this is because i am debating on weather or not to wait or list a quoting system with some limted options for now??

    Use jQuery .fadeIn()
    Works wery good. Apply some .class to element, what you want to hide.
    When you click on option, it will show or hide this element.

    [jazzy form="2"]
    <script type="text/javascript">
    jQuery(document).ready(function(){
    	jQuery(".cvet").hide();
    	jQuery("#jzzf_2_sistema-1").click(function(){
    jQuery(".cvet").hide();
    		jQuery(".cvet1").fadeIn("slow");
    	});
    	jQuery("#jzzf_2_sistema-2").click(function(){
    jQuery(".cvet").hide();
    		jQuery(".cvet2").fadeIn("slow");
    	});
    });
    </script>

    Sorry for my English. (

    Thread Starter plnewton

    (@plnewton)

    Sorry i am not much of a programer, where woukd i put this script and how woud i adapt it to my form?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Jazzy Forms] Elements enabled/disabled based on selections’ is closed to new replies.