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
Form dropdown list
#11
Correct, all the fields I created in the form I also created in join.php at all the required sections.

When I switch from
<select class="form-control" name="streetlist" form="payment-form" required>
<option value="choose">Click To Choose Your Street Name</option>
<option value="Bloukeur">Bloukeur</option>
to
<input type="text" class="form-control" id="street" name="street" placeholder="Street Name e.g. Douglas Carr" value="<?php if (!$form_valid && !empty($_POST)){ echo $street;} ?>" required>

it works. Therefor something in the <select> is causing the form to think a street has not been chosen, even though it clearly has. I just can't figure out what is causing this behavior.
  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: 1 Guest(s)