2017-05-06 57 views
0
<div class="form-group"> 
    <label class="col-md-3 col-sm-3 col-xs-12" for="">Member No of the Transferer<span class="required">*</span></label> 
    <div class="col-md-3 col-sm-6 col-xs-12"> 
     <input required="" class="form-control col-md-7 col-xs-12" id="old_member_no" type="number" name="old_member_no" <?php if(isset($editData)) echo 'readonly style="pointer-events: none;"'; ?> value="{{ old('old_member_no',isset($editData) ? $editData->old_member_no:"") }}"> 
     <input type="hidden" name="member_no" value="{{ old('member_no',isset($editData) ? $editData->member_no:"") }}" /> 
    </div> 
    <span class="help-block"></span> 
</div> 

    <div class="form-group"> 
    <label class="col-md-3 col-sm-3 col-xs-12" for="">Name of the Transferer<span class="required">*</span></label> 
    <div class="col-md-3 col-sm-6 col-xs-12 "> 
     <input required="" class="form-control col-md-7 col-xs-12" id="" type="text" name="full_name" value="{{ old('full_name',isset($editData) ? $editData->full_name:"") }}"> 
    </div> 
    <span class="help-block"></span> 
</div> 

    <div class="form-group"> 
    <label class="col-md-3 col-sm-3 col-xs-12" for="">Address of the Transferer<span class="required">*</span></label> 
    <div class="col-md-3 col-sm-6 col-xs-12 "> 
     <input required="" class="form-control col-md-7 col-xs-12" id="house" type="text" name="house" value="{{ old('house',isset($editData) ? $editData->house:"") }}"> 
    </div> 
    <span class="help-block"></span> 
</div> 

你好傢伙。我在做一個項目。我正在用autopopulate開發一個表單。如果輸入數字,按下後輸入地址和名稱應從數據庫中提取。好心幫我php - 錯誤Autopopulate不工作

+0

你好。你需要什麼樣的幫助?你試過什麼了?你怎麼了? – Federkun

回答

0

既然是我不清楚,但對你的描述的基礎......你可能需要在這裏使用JavaScript/jQuery和使用事件功能,當進入一個領域