I have a subroutine that dynamically adds options to a select based on data entered into a number of text boxes. Everything works great except I need to change my sub to check the options that are in the select to see if it exists before adding the value. In other words, I don't want to...
I need help with code that auto-populates the options in a select. I have a group of about 30 check boxes that i want to fire a subroutine when clicked. That sub needs to loop through all of those checkboxes and if it has a specific class and is checked then the values of those checkboxes need...
Thanks. That works. Would it also be possible to assign a class to all of the radio buttons to include and use it instead of looking for an int? I could see a scenario where I might have two separate sections on a form where I have to calculate different scores, so that wouldn't work in this...
This function is working when I have only radio button groups that I want to include in my calculation. When I add another radio button group to the form that's not supposed to be scored, that's when I get an error (because the value of that new group is text and can't be converted to an int and...
I have a form that has 20 questions and each question has 5 answers (each being a radio button). As the user answers each question by clicking the appropriate radio button, I call a function that scores the answer. The function is below and it works well.
The problem is that now i need to add...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.