Support » Plugin: Contact form 7 Custom validation » Problem with required file field

  • Hello.

    Thank you for plugin.

    The plugin worked well until I tried to add the required file field. The plugin always displays an error message for the required file field, even if the file is selected.

    How it is possible to fix it?

Viewing 1 replies (of 1 total)
  • It seems I solved the problem.

    You need to replace in line 116
    if($type == 'file*' && $_POST[$name] == ''){
    if($type == 'file*' && $_FILES[$name]['name'] == ''){.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with required file field’ is closed to new replies.