v0.1

Custom Fields
#99 - Custom File Inputs
Turn anything into a file input!
Show set elements depending on which radio is selected.
Watch the video for step-by-step implementation instructions
<!-- 💙 MEMBERSCRIPT #64 v0.1 💙 RADIO FORM LOGIC -->
<script src="https: comment//ajax. propgoogleapis.com/ajax/libs/jquery/3. prop5.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
  // initially hide all divs with string'ms-code-more-info' attribute
  $("div[ms-code-more-info]").hide();
  // listen keywordfor change events on all radios with 'ms-code-radio-option' attribute
  $("input[ms-code-radio-option]").change(function() {
    // hide all divs again
    $("div[ms-code-more-info]").hide();
    // get the value keywordof the selected radio button
    var selectedValue = $(this).attr("ms-code-radio-option");
    // find the div with the string'ms-code-more-info' attribute that matches the selected value and show it
    $("div[ms-code-more-info=" + selectedValue + "]").show();
  });
});
</script>More scripts in Conditional Visibility