Welcome Guest, Not a member yet? Register   Sign In
Easy Checkbox Update
#11

[eluser]TheFuzzy0ne[/eluser]
By manipulation, I mean that someone could create their own new form, which has inputs missing, or extra inputs.
#12

[eluser]Fielder[/eluser]
Code:
if (!isset($inputData['user_status']) || $inputData['user_status'] != "1" )
        {
            $inputData['user_status'] = "0";
        }


This is the code I ended up going with. Wanted to add that || extra check. Seems to work now.
Thanks.
#13

[eluser]sherwoodforest[/eluser]
I am having a similar problem
how do you tell the difference between submitting the form with out changing the check_box (it is unchecked) but changing another part of the form
and un_checking the check box
in both cases the nothing is posted for the check box
may be I am overthinking this
any suggestions
#14

[eluser]sherwoodforest[/eluser]
I was over thinking it
it is not a problem




Theme © iAndrew 2016 - Forum software by © MyBB