I want Alert if someone enter without numerical in TEXTBox.
How its possible in PHP code?
thanks
Regards
Popup Alert If Empty
Moderator: General Moderators
Re: Popup Alert If Empty
PHP can't do it alone. You need Javascript somewhere.
Search around for how to do form validation in Javascript. You'll probably end up writing code for the form's onsubmit that checks the form fields and takes whatever action it wants (such as an alert message) if there's a problem.
Search around for how to do form validation in Javascript. You'll probably end up writing code for the form's onsubmit that checks the form fields and takes whatever action it wants (such as an alert message) if there's a problem.