These are chat archives for MontCode/GeneralChat

11th
Jan 2017
Jonathan Herman
@lantech19446
Jan 11 2017 00:03
yea a couple called jawbone who supported bodybugg by contractual agreement until the end of last year and actually continued selling the devices up until that day. Ironically they're still sold on amazon even though they're completely useless but no one knew when they bought them out originally that they were going to kill it off the original intent was to design the up with the bodybugg technology and apparently they failed miserably and destroyed a market while they were at it
Lily Romano
@Lilyheart
Jan 11 2017 00:19
I think I'm calling it a night. Jon, are you coming tomorrow?
Jonathan Herman
@lantech19446
Jan 11 2017 00:20
I won't be able to I'm working 10-8
Dave Reaser
@reaser
Jan 11 2017 04:18
I'm at a loss on something, need to uncheck all checkboxes and communicate it to a mysql db, can someone point me in the right direction, i see the front end code that changes when the box is unchecked but can't seem to find how to remove it or maybe even create a button on the front end that does it automatically
Eric Phy
@SimplyPhy
Jan 11 2017 04:21
@reaser there’s an inputproperty called checked that specifies if the input value is checked or not. you can test for this, or set it yourself.
e.g.
<input type="checkbox" checked>
<html>
    <body>
        <input id="check1" type="checkbox" checked="" name="copyNewAddrToBilling">
    </body>
    <script language="javascript">
        document.getElementById("check1").checked = true;
        document.getElementById("check1").checked = false;
    </script>
</html>
http://stackoverflow.com/a/18862252/1698825
Dave Reaser
@reaser
Jan 11 2017 13:16
Thank you, I did see that in the code, what i'm struggling with is figuring out how to write this so that pushing a button will clear all checkboxes for that field in the database. It's basically a box next to each persons name which indicates if they have signed a contract. Each year they have to resign it so I want to add a box to reset that field.
Lily Romano
@Lilyheart
Jan 11 2017 16:24
@reaser if @SimplyPhy doesn't get back to you soon, I'll look at it when i'm not mobile.
@Jhighl Are you coming to the meetup tonight? Some arduino stuff will be there. https://www.meetup.com/MontCode/events/236502702/
Dave Reaser
@reaser
Jan 11 2017 17:03
Thanks yea I still need some help figuring out how to have the button locate the waiver section that is checked off
Dave Reaser
@reaser
Jan 11 2017 20:01
So I have the button created called Reset Waiver added to the menu successfully, the class of the checkbox is called "waiver", i'm going to try a few things but any input here would be very helpful
Just trying to clear all of the checkboxes, with them currently checked they are greyed out so the end users can't manually reset them
Lily Romano
@Lilyheart
Jan 11 2017 22:01
Sorry I haven't had a chance to look it up yet Dave. I've been running around since I woke up getting things together for tonight's meetup.