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
#16
Yeah. I couldn't test your particular user_settings.php last time.

Ok. Here's what I did. I made a new user_settings.php that is designed to go in the usersc folder and then only added the checkbox feature. One of the issues is that you need the page to refresh when you submit in order to recheck/uncheck the boxes on the page. Because of this, I did a more generic "settings updated" message if all the validation passes so I can show the message after the refresh.

Here's the link that works for me. Then you can go back and add those other fields like country.
http://hastebin.com/lagizihoxe.scala

Also, just to make sure we're on the same page, those db_columns are int(1) in the database.
  Reply


Messages In This Thread
multiple select box or checkboxes in the registration form - by mudmin - 11-16-2016, 01:54 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)