2014-03-05 6 views
0

부트 스트랩 3을 처음 사용합니다. 로그인 페이지를 만들고 있는데 다음 코드를 가지고 있습니다.
* Bootply에서 생성했습니다.
부트 스트랩 폼 검사기

<form class="form-horizontal"> 
<fieldset> 

<!-- Form Name --> 
<legend>Registry Login</legend> 

<!-- Text input--> 
<div class="form-group"> 
    <label class="col-md-4 control-label" for="input_email">Email</label> 
    <div class="col-md-8"> 
    <input id="input_username" name="input_email" placeholder="" class="form-control input-md" required="" type="email"> 

    </div> 
</div> 

<!-- Password input--> 
<div class="form-group"> 
    <label class="col-md-4 control-label" for="input_password">Password</label> 
    <div class="col-md-8"> 
    <input id="input_password" name="input_password" placeholder="" class="form-control input-md" required="" type="password"> 

    </div> 
</div> 


<!-- Button --> 
<div class="form-group"> 
    <label class="col-md-4 control-label" for=""></label> 
    <div class="col-md-4"> 
    <button id="" name="" class="btn btn-default">Login</button> 
    </div> 
</div> 

</fieldset> 
</form> 

내 이메일 필드이 샘플 문자열 abcde에있는 키가 나는 Please enter an email address 것을 말하는 작은 툴팁을 받았다. 텍스트를 변경하는 방법이 있습니까?

+0

백엔드를 어떻게 사용하고 있습니까? 전자 메일 형식에 대한 클라이언트 쪽 유효성 검사가 필요한 경우 jquery를 통해이를 수행해야합니다. –

+0

Bootstrap 3에 CodeIgniter를 사용하고 있습니다.이 작업을 수행하는 유효성 검사기가 내장되어있는 것으로 나타났습니다. 반환 할 텍스트를 변경하여 최대화하려고합니다. –

답변

0

Codeigniter로 양식 옵션을 변경해야합니다. 익숙하지는 않지만 게시 코드 아래에있는 것처럼 보입니다.

관련 문제