Hello,
I need help adding php validation to two fields within a wordpress plugin form . Validation methods need to restrict users to allow only jpg, jpeg, png, gif in image file upload field. Validation for title input needs to check for a value. Submit button needs to prompt error/success messages upon user submission. The plugin we are trying to modify is User Submitted Posts, http://perishablepress.com/user-submitted-posts , we have configured the plugin to only use the image upload field and title field. The error that is happening is a user can submit a post without the image uploaded. Need a solution.
Please contact via reply, pm or AIM if further explanation is needed.
AIM: AceEye88
Thank you.