Currently i have a form which shows an error page if a field is not filled out on the form, i was wondering if there was any guides or if someone could tell me how i can make a little popup window with an error message display if there are missing fields. Thanks
probably you might need to encode some error handling functions... so before actually calling in mail() you might want to verify your fields are correctly filled.. e.g. email is valid and not blank just simple error checking before you send out the mail
I already have that, and it brings a user to an error page what i want to do is make a pop-up with the error before they are redirected from the page where they filled out the information
oic... this can be achieved in many ways... either you get javascript running for testing on the fly... (highlight a field if error, display message anywhere or an alert box...etc) or you can have it submit to the same page or an error catch page.. before executing the script in another set of page and/or functions
This would be something that you'd want to do dynamicly on the form page rather than through PHP on the server side.