When my users upload pictures, I want the title and description to be required fields. How can I do this? Thanks in advance.
Anyone?
out-of-the-box, this is not possible, so you'll have to code some extra logic that does the checking and prompts the user to fill in the mandatory fields. Since the hack you're requesting is not that trivial, you can't expect people have a solution ready for copy'n paste. It's advisable that you code it using JavaScript if you're not sure about php, with the <form> field code changed to<form ... onSubmit="return chkForm();" >
and the JavaScript bit like this function chkForm()
{
if(document.form_name.field_name.value == "")
{
alert("please enter something into 'foobar'");
document.form_name.field_name.focus();
return false;
}
GauGau