Mutley Posted March 10, 2007 Share Posted March 10, 2007 If a form isn't filled in, when they click the Submit button how do I create a System message style box to notify them? Link to comment https://forums.phpfreaks.com/topic/42152-system-message/ Share on other sites More sharing options...
papaface Posted March 10, 2007 Share Posted March 10, 2007 Thats called Javascript. Link to comment https://forums.phpfreaks.com/topic/42152-system-message/#findComment-204479 Share on other sites More sharing options...
chronister Posted March 10, 2007 Share Posted March 10, 2007 I am not familiar with javascript enough to provide sample code, but I believe it would be an alert function javascript:alert('This is an alert box') typing this in the address bar pops an alert box... so you will need to get some javascript code going to check the value length of your form field, and then an if statement to pop the alert box at the right time. Sorry I could not be of more help Link to comment https://forums.phpfreaks.com/topic/42152-system-message/#findComment-204495 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.