2

In angularjs ,i'm creating a form with following code but in the form type="file" is not properly showing.Is there anything to change in the code??

Thanks in advance.

 <form ng-app="myApp" ng-controller="validateCtrl" name="myForm" id="myForm" method="POST" action="apply.php" enctype="multipart/form-data" novalidate >
    <div class="form-group">   
    <input type="text" class="form-control" name="user" ng-model="user" 
       placeholder="Your Name" required>      
    </div>
     <div class="form-group">
        <label for="resume">Resume</label>
        <input class="form-control" id="file" type="file" name="file" required>       

        </div>

        <input type="submit" class="pointer" value="Apply" ng-disabled="myForm.$invalid">

    </form>

sample screenshot for the above code is shown below enter image description here

Ramlal S
  • 1,573
  • 1
  • 14
  • 34

0 Answers0