The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 871 - File: showthread.php PHP 7.4.12 (Linux)
File Line Function
/showthread.php 871 errorHandler->error


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Receiving blank results on a required field
We have a form using drop down selections. I set the fields as mandatory in Formtools 2.

We intentionally made the first choice a blank so that they would HAVE to make a selection. Appears this blank IS a selection.

How can I fix this so that they MUST chose a selection from the drop down, but there is nothing selected to start with.

Here what I have:

Course Title:<select name="Course_Title">
<option value=" "></option>
<option value="Torts I s2">Torts I 6:00 (Viselman)</option>
<option value="Torts I s3">Torts I 7:30 (Chang)</option>
<option value="Contracts II s2">Contracts II 6:00 (Shabani)</option>
<option value="Contracts II s3">Contracts II 7:30 (Shabani)</option>
<option value="Criminal Law">Criminal Law (Barreto)</option>
<option value="Legal Writing and Analysis">Legal Writing &amp; Analysis (Zunker)</option>
<option value="Constitutional Law I">Constitutional Law I (Zunker)</option>
<option value="Civil Procedure I">Civil Procedure I (Watkins)</option>
<option value="Criminal Procedure">Criminal Procedure (Barreto)</option>
<option value="Bar Review">Bar Review (Watkins)</option>

Messages In This Thread
Receiving blank results on a required field - by jbosset - May 5th, 2015, 4:22 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)