Multiple Choice
Posted by ChrisMBS - Apr 22 ’13 at 07:36
I located the code for getting multiple choice values in your forum. In the example though you've hardcoded the checkbox index.
How do I get the index of the checkbox that is selected and pass it through to the code?
FD Example
var checkboxIndex = 2; fd.field('MultiChoice').control()._el() .find('input[type="checkbox"]').eq(checkboxIndex) .is(':checked');
Pass in selected checkbox index
var checkboxIndex = <<MultiChoiceSelected>>; fd.field('MultiChoice').control()._el() .find('input[type="checkbox"]').eq(checkboxIndex) .is(':checked');
-
DmitryAdminMember for: 10 years 11 months 19 days
You can iterate through all options and find selected. Here is an example:
$.each(fd.field('Checkboxes').control()._el() .find('input[type="checkbox"]'), function(i, el) { if ($(this).is(':checked')) { alert(i + ' option is selected'); } });
-
schuessMemberMember for: 9 years 4 months 5 days
I want to run some actions IF a certain checkbox in a multi-selection input type .is(':checked
based on the value of that checkbox?
I cannot figure out how to check for the value match
my attempt:
window.$('.fd_field[fd_name="architect"]').hide();
fd.field('contractType').control().change(function(){
if (fd.field('contractType').control()._el().find('input[type="checkbox"]').eq('Rental Agreement').is(':checked')) {
window.$('.fd_field[fd_name="architect"]').show();
fd.field('architect').title().required(true);
} else {
window.$('.fd_field[fd_name="architect"]').hide();
fd.field('architect').title().required(false);
}
});
PS> i could not get your iteration example to work.
window.$.each(fd.field('contractType').control()._el()
.find('input[type="checkbox"]'), function(i, el)
{
if ($(this).is(':checked')) {
alert(i + ' option is selected');
}
});
thanks!
-
Udaipurescort7MemberMember for: 2 months 17 days
Welcome To Sexy Call Girls Service in Udaipur
Welcome to Udaipur . In this escort directory section, you find Udaipur escorts. Euro Girls Escort is the most trusted escort directory and one of the biggest Indian escort directories. All content and photos are regularly checked and updated with real photos. This makes sure, that all escort Ads are always up to date and will bring you the best experience.
-
Udaipurescort7MemberMember for: 2 months 17 days
Because we rely on this simple principle: we want you to find the right Udaipur escorts at the exact time you are looking and based on your current location. We will show you the profiles of escorts near the location you specified. There may be few or many options to choose from‚ depending on where you live and the season. With Escort you will find the best VIP escorts anywhere in the country.
-
Udaipurescort7MemberMember for: 2 months 17 days
Because we rely on this simple principle: we want you to find the right Udaipur escorts at the exact time you are looking and based on your current location. We will show you the profiles of escorts near the location you specified. There may be few or many options to choose from‚ depending on where you live and the season. With Escort you will find the best VIP escorts anywhere in the country.
-
Udaipurescort7MemberMember for: 2 months 17 days
Welcome To Hot Models in Udaipur
I am Rashmika From Udaipur Escort Service Agancy . Im a goddess with a gorgeous body and fiery personality, my passion in the bedroom will knock you socks off. I'm the girl that will make all your dreams come true and I want to take you to heaven and back.
https://www.rashmika.co.in https://rashmika.co.in/ajmer-escorts https://rashmika.co.in/jodhpur-escorts https://rashmika.co.in/jaipur-escorts https://rashmika.co.in/kota-escorts https://rashmika.co.in/abu-road-escorts https://rashmika.co.in/mount-abu-escorts https://rashmika.co.in/sikar-escorts https://rashmika.co.in/alwar-escorts https://rashmika.co.in/jaisalmer-escorts https://rashmika.co.in/bikaner-escorts https://rashmika.co.in/pushkar-escorts https://rashmika.co.in/chittorgarh-escorts
https://www.rashmika.co.in https://rashmika.co.in/ajmer-escorts https://rashmika.co.in/jodhpur-escorts https://rashmika.co.in/jaipur-escorts https://rashmika.co.in/kota-escorts https://rashmika.co.in/abu-road-escorts https://rashmika.co.in/mount-abu-escorts https://rashmika.co.in/sikar-escorts https://rashmika.co.in/alwar-escorts https://rashmika.co.in/jaisalmer-escorts https://rashmika.co.in/bikaner-escorts https://rashmika.co.in/pushkar-escorts https://rashmika.co.in/chittorgarh-escorts -
kiterpeterMemberMember for: 2 months 21 days
Hope somebody will reply this and you will be able to findout the solution of your problem.
You can get more information here by visiting this website.
Best Airport Shuttle Services in Ann Arbor MI
-
Udaipurescort8MemberMember for: 3 months 15 days
Welcome To Hot Models in Udaipur
I am Rashmika From Udaipur Escort Service Agancy . Im a goddess with a gorgeous body and fiery personality, my passion in the bedroom will knock you socks off. I'm the girl that will make all your dreams come true and I want to take you to heaven and back.
-
Ravina20MemberMember for: 18 days
-
Udaipurescort8MemberMember for: 3 months 15 days
I'm waiting for you in a sexy outfit and for taste New adventures, good service . I'm in a very discreet apartment with shower facilities ,fresh clean towels and parking. I'm ready to help you get wet and explore new pleasures, Regular sex is boring, let’s tune it up and let me bring through your wildest dreams Anal Rimjob Blowjob 69 Cum swallowing Role play Domination Spanking Ultimateb pleasure Balls draining With condom and without Deepthroat Gagging. Pin me against the wall and fuck me deep in my ass, Cowgirl is my specialty lemme ride you till kingdom come, Disregard the pretty face I like being treated like a common cock sleeve, I’m into all type of sex you can imagine ,I’m still a good girl tho.
https://in.rashmika.co.in https://in.rashmika.co.in/ajmer-escorts https://in.rashmika.co.in/jodhpur-escorts https://in.rashmika.co.in/jaipur-escorts https://in.rashmika.co.in/kota-escorts https://in.rashmika.co.in/abu-road-escorts https://in.rashmika.co.in/mount-abu-escorts https://in.rashmika.co.in/sikar-escorts https://rashmika.co.in/alwar-escorts https://in.rashmika.co.in/jaisalmer-escorts https://in.rashmika.co.in/bikaner-escorts https://in.rashmika.co.in/pushkar-escorts https://in.rashmika.co.in/chittorgarh-escorts