![]() |
Alert Error Popups
Hi All,
Several of my forms use error-checking. At the moment, I use the following PHP function to create Javascript Alert errors and call it whenever information is filled in incorrectly: Code:
function AlertError($message) The above function gets executed with 'submit' buttons and works like it should when an error is detected. However, it displays the alert error over a new (blank white) page and then reverts back to the old page after the user hits 'OK'. It's pretty ugly-looking. What I want it to do is the same thing that vB Alert Errors do (see screenshot below). http://img256.imageshack.us/img256/5...messagels6.png I deal entirely with PHP and HTML when working on my forum. I know absolutely nothing about AJAX or Javascript. What is the easiest way to make this Alert function pop up over the existing page without actually submitting the form? Thank You, OH |
Isn't this a default feature of vBulletin?
|
Quote:
Anyone have any suggestions? |
All times are GMT. The time now is 09:44 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:
|