The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (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
Form dropdown list
#15
You gave your select element an id, but not a name.

Code:
<select id="street" name="street" class="form-control" form="payment-form" required>

The id is a unique name for the an element and is usually used for Javascript manipulation, while the name should be unique to each form is what is passed to your POST data to be used via PHP. I often make this mistake myself when changing forms around so it's something I'm always looking out for!
  Reply


Messages In This Thread
Form dropdown list - by pierre - 08-30-2017, 05:57 PM
Form dropdown list - by Brandin - 08-30-2017, 10:14 PM
Form dropdown list - by mudmin - 08-30-2017, 10:40 PM
Form dropdown list - by pierre - 08-31-2017, 02:53 AM
Form dropdown list - by pierre - 08-31-2017, 05:58 AM
Form dropdown list - by pierre - 08-31-2017, 08:01 AM
Form dropdown list - by Brandin - 08-31-2017, 11:21 AM
Form dropdown list - by pierre - 08-31-2017, 01:58 PM
Form dropdown list - by pierre - 08-31-2017, 05:00 PM
Form dropdown list - by Brandin - 08-31-2017, 07:40 PM
Form dropdown list - by pierre - 09-01-2017, 04:15 AM
Form dropdown list - by pierre - 09-01-2017, 04:26 AM
Form dropdown list - by Brandin - 09-01-2017, 11:44 AM
Form dropdown list - by pierre - 09-01-2017, 06:59 PM
Form dropdown list - by karsen - 09-01-2017, 07:07 PM
Form dropdown list - by pierre - 09-01-2017, 07:13 PM
Form dropdown list - by Brandin - 09-01-2017, 07:59 PM

Forum Jump:


Users browsing this thread: 6 Guest(s)