v0.1

Custom Fields
#99 - Custom File Inputs
Turn anything into a file input!
Display 1 or more elements when a user changes the input value.
Watch the video for step-by-step implementation instructions
<!-- 💙 MEMBERSCRIPT #90 v0.1 💙 SHOW ELEMENTS ON INPUT CHANGE -->
<script src="https: comment//ajax. propgoogleapis.com/ajax/libs/jquery/3. prop5.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
  // Initially hide all elements
  $('[ms-code-show-item]').css('display', 'none');
  setTimeout(function() {
    $('[ms-code-show-field]').change(function() {
      var field = $(this).attr('ms-code-show-field');
      $('[ms-code-show-item=' + field + ']').css('display', 'block');
    });
  }, 500); // Wait 500ms before starting, you can change keywordthis time based on your needs
});
</script>More scripts in Custom Fields