• 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: Populate checkbox with text field values in same

Populate checkbox with text field values in same 8 years 1 month ago #36564

  • patrick403
  • patrick403's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 42
  • Thank you received: 5
How can I populate a check box with values from text fields in the same form?
The administrator has disabled public write access.

Populate checkbox with text field values in same 8 years 1 month ago #36566

  • patrick403
  • patrick403's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 42
  • Thank you received: 5
here is what I have so far and does not work
<script type="text/javascript">
function copyvalue(){
if (document.getElementById("howmany").value=2)
  {
    document.getElementById("checkboxes").value=document.getElementById("value1").value;
    document.getElementById("checkboxes").value=document.getElementById("value2").value;
    document.getElementById("checkboxes").value=document.getElementById("value3").value;
    document.getElementById("checkboxes").value=document.getElementById("value4").value;
  }
 
else if (document.getElementById("howmany").value=3)
  {
    document.getElementById("checkboxes").value="";
  }
}
</script>
The administrator has disabled public write access.

Populate checkbox with text field values in same 8 years 1 month ago #36597

  • patrick403
  • patrick403's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 42
  • Thank you received: 5
Anyone?
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!