내 양식이 항상 유효성 검사에 실패하는 이유를 누구나 찾아 낼 수 있습니까? 유효성 검사에서 오류가 출력되지 않고 POST 배열이 항상 비어 있습니다. 나에게 제안한다, 그것이 틀린 장소에 제출된다. 그러나 그것은 사실이 아니다. 여기 CodeIgniter form_validation을 사용한 빈 POST 결과
<form action="https://www.mydomain.com/account/withdraw" method="post" accept-charset="utf-8"> <fieldset class="six-col">
<h3>What amount?</h3>
<span style="font-size:1.3em;position:relative;display:inline;">£</span>
<input id="amount" type="text" placeholder="1.00" style="font-size:1.3em;width:115px;background-color: transparent;color:white;"/>
</fieldset>
<fieldset class="six-col">
<h3>Charges</h3>
<span id="charges" style="font-size:1.3em;"></span>
</fieldset>
<fieldset class="six-col">
<h3>You leave with</h3>
<span id="charges2" style="font-size:1.3em;"></span>
</fieldset>
<fieldset class="six-col end-col">
<input type="submit" id="submit" class="btn" value="Withdraw" style="width:125px;position:absolute;bottom:0" />
</fieldset>
</form>
당신은 입력에서 설정 한 이름이없는 어떤 도움
좋은 캐치, name''없는 것을 알하지 않았다. +1 – DaveRandom
저는 항상 그 일을합니다. CIs 프로파일 러는 Google 크롬 개발자 툴킷을 통해 XHR 헤더를 모니터링하거나 모니터링 할 수있는 훌륭한 도구입니다. – gorelative
빌어 먹을 유예 기간! 나는 당신이 그것을 추가했다는 것을 보았다. (누락 된 이름 부분) 나는 나의 대답을 게시하고 있었다. :) +1 어쨌든 –