Required Fields Issue

Hi,

I have an application form that needs to be completed in to stages. After the first stage, the administrator either approves or rejects the applicant by way of an admin only field. Once the applicant logs back in, the rest of the fields (which are set to show only if the approved field is set to ‘yes’) are visible. Some of these fields are set as required.

The problem is that when the administrator edits the form entry to approve the applicant, the ‘show when approved equals yes’ fields become visible and it is not possible to update the form entry without completing these fields. Obviously, these fields need to be completed by the applicant, not the administrator. Is there a way around this?

This would require some custom code. Here's a similar example:
http://formidablepro.com/help-desk/required-fields-dependent-on-other-field-entry/

You would need to modify this line a bit.
if($posted_field->id == 25 and isset($errors['field'. $posted_field->id]) and $_POST['item_meta'][30] == 'USA'){

to:
if($posted_field->id == 25 and isset($errors['field'. $posted_field->id]) and $_POST['item_meta'][30] == 'Yes' and is_admin()){

is_admin() means you are in the back-end.

Topic closed.