![]() |
Require Form Input
My knowledge of HTML escapes me and google was of no help.
How do I make a field on a form required? >.> |
Quote:
|
Quote:
Maybe vB already has this built in? I am doing this on a vB board. |
This will make it show up in a standard error message from vbulletin.
Put it after the submit button action. Code:
if ($formanswer == '') |
Quote:
|
Quote:
|
okay.. so.. I'm more confused now then when I started...
|
Javascript Tutorial:
http://www.javascriptkit.com/javatutors/form6.shtml For php it's just checking if a variable is empty. |
Quote:
|
All times are GMT. The time now is 07:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|