• Resolved hanino

    (@hanino)


    Hello,

    when I create a new form field, the checkbox for making the field a mandatory adds a required attribute to the input tag. Except for the featured image field (<input type=”file”>).

    Why?

    Thx!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Chris Dillon

    (@cdillon27)

    Thanks for catching this. I will fix it in the next update.

    Thread Starter hanino

    (@hanino)

    Hi and thanks again 🙂

    I changed line 99 in /includes/form-template-functions.php to this:
    echo '<input id="wpmtst_' . $field['name'] . '" type="file" name="' . $field['name'] . '"'. wpmtst_field_required_tag( $field ).'>';

    Please do something similar in the next update. Or give me hint otherwise.

    Plugin Contributor Chris Dillon

    (@cdillon27)

    This is fixed in version 2.15.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘error message for missing (required) file upload’ is closed to new replies.