• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: remove checked checkboxes in conditional fields

remove checked checkboxes in conditional fields 9 years 10 months ago #31567

Hello,

I have a checkbox with the condition that if it is checked, it shows a dropdown. (called=enable)

This dropdown displays months, and each month as got a condition to show a new checkbox.(default is "select month")(called=months)

checkboxes of the months (31 days)(12 checkboxes names=each month of the year ex. jan,feb,etc)


What I am trying to do is, people can enable this month selection area, select each month and select dates.

what I need is for people to when they uncheck 1º it will remove all checked on 3º and set 2º to the default (first options of dropdown)

is there a javascript to handles this?
thank you
The administrator has disabled public write access.

remove checked checkboxes in conditional fields 9 years 10 months ago #31587

bump!
The administrator has disabled public write access.

remove checked checkboxes in conditional fields 9 years 4 months ago #33533

  • linkspot
  • linkspot's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hello
did you get the resolution for this question?
Could you post the resolution?
Regards
The administrator has disabled public write access.

remove checked checkboxes in conditional fields 9 years 1 week ago #34897

  • molotov
  • molotov's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
Hello, did you get any solutions to that?
I have a similar scenario and would need help for that.
The administrator has disabled public write access.

remove checked checkboxes in conditional fields 9 years 1 week ago #34903

  • linkspot
  • linkspot's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hello
In check box ,Additional Attributes :
onclick="calculateTex();"
In form properties, javascrip:
<script>
function calculateTex() {
var EstadodoReturn = document.getElementById("return0");
if(EstadodoReturn.checked == false) {
var select_id = document.getElementById("return_picuptime");
select_id.value = "Hour ..";
rsfp_Calculations14();
}
}
</script>
I hope it can helps
regards
The administrator has disabled public write access.

remove checked checkboxes in conditional fields 9 years 1 week ago #34904

  • linkspot
  • linkspot's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
hello
tel-me if you understand that
The administrator has disabled public write access.

remove checked checkboxes in conditional fields 9 years 1 week ago #34905

the main checkbox, that opens and closes named: child2activate

onchange="cTrig('child2activate0'); checkByParent('child2checkbox', false); "

On javascript:
<script type="text/javascript">
function cTrig(clickedid) {
if (document.getElementById(clickedid).checked == true) {
return false;
} else {
var box= confirm("Are you sure you want to do this?");
if (box==true)
return true;
else
document.getElementById(clickedid).checked = true;

}
}
</script>
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!