Form data to email
I have a contact form made in HTML and a PHP code. When a user enters data and submits, I successfully get the data in my inbox. Now, I was trying to validate the form so that if only the required fields are entered the msg goes thru but I can't seem to understand how to do it.
I've attached both the html and the php, I'm trying to get 'affiliation' as an optional field, more mandatory and optional fields will follow...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)