how to mark radio button in depends of choosen year for example when I choose from dropbox "Rok Urodzenia" 1998 and 1999 it should mark field U15 in "Kategoria" and for 2000 and 2001 U13 any solution for that??
I set this radio button as disable but i want to mark it by auto after choosen right year
form is here
I set this radio button as disable but i want to mark it by auto after choosen right year
form is here
ok thx I'm not so good in JS can You help me with that or show some similar code do that?
Hi Qbik,
Here is a code example which can be added to a "Load Javascript" action:
Here is a code example which can be added to a "Load Javascript" action:
jQuery(document).ready(function($){
$("#my_dropdown_id").on("change", function(){
if($(this).val() == "1"){
$("#my_radio_id").prop("checked", true);
}
});
});
ok thx
and where i have to put this on load events? or i have to prepare some new events?
and where i have to put this on load events? or i have to prepare some new events?
Yes, this will go in the "on load" event, but the code need to be updated, the fields ids and the value you are checking for..etc, that's just a plain example!
This topic is locked and no more replies can be posted.