I am having issues in retaining the value in the form field after the user has clicked on submit and has to return back to the same as some error in validation is presented to the user. I have gone through the link below:- Keep text in text field after submit
but still it hasn't resolved my query . I have tried to test whether the field can display a static value using value="" sub tag within the input tag.Even that is also not appearing within the field.
I have gone through the entire CSS of the form and have rechecked every part .still I am not getting a clue as to where I am wrong ! This is a sample field below:-
<div class="row control-group"> <div class="form-group col-xs-12 floating-label-form-group controls"> <label for="name">Full Name</label> <input type="text" class="form-control" placeholder="Full Name" id="name" name="name" ng-model="name"> <span ng-show="nameerror" style="color:red;"> <b>*Text only</b> </span></br> <p style="color:red"> <?php if(isset($_SESSION["nameerr"])) echo $_SESSION["nameerr"]; unset($_SESSION["nameerr"]); ?> </p> </div>
The corresponding CSS for that div is:-
- Start Bootstrap - Freelancer v3.3.7+1 (http://startbootstrap.com/template-overviews/freelancer)
- Copyright 2013-2016 Start Bootstrap