v0.1

Campos personalizados
#99 - Entradas de archivos personalizadas
Convierta cualquier cosa en un archivo de entrada
Mostrar elementos del conjunto en función de la radio seleccionada.
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