Send empty POST field in Angular form

30 views
Skip to first unread message

Neeraj Dhiman

unread,
Apr 16, 2015, 7:58:30 AM4/16/15
to ang...@googlegroups.com
I know angular do not send empty fields in form POST but i want exactly opposite of that. If a field is exist in form html then that field must be posted doesn't matter if its blank or have some data so that I can get that field in my function .

 

     <input type="hidden" class="form-control" ng-model="formData.field_name]" ng-trim="false"/>


Reply all
Reply to author
Forward
0 new messages