The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
multiple select box or checkboxes in the registration form
#22
Thanks Mudmin,

I don't suppose giving the checkboxes unique names can be done by simply changing this:

<pre>
Code:
$over_18 = Input::get('over_18');
    if($over_18 == 'on'){
        $over_18 = 1;
    }else{
        $over_18 = 0;
    }
</pre>


to this:

<pre>
Code:
$over_18 = Input::get('over_18');
    if($over_18 == 'on'){
        $over_18 = over 18;
    }else{
        $over_18 = not over 18;
    }
</pre>


right?

  Reply


Messages In This Thread
multiple select box or checkboxes in the registration form - by LBC - 11-18-2016, 07:16 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)