필수 값 삭제
본문
현재는 필수로 설정되어있는데, 필수가 아니라서 수정하고싶어요
<tr>
<th scope="row"><label for="wr_content">문의사항<strong class="sound_only">필수</strong></label></th>
<td class="wr_content">
<?php if($write_min || $write_max) { ?>
<!-- 최소/최대 글자 수 사용 시 -->
<p id="char_count_desc">이 게시판은 최소 <strong><?php echo $write_min; ?></strong>글자 이상, 최대 <strong><?php echo $write_max; ?></strong>글자 이하까지 글을 쓰실 수 있습니다.</p>
<?php } ?>
<?php echo $editor_html; // 에디터 사용시는 에디터로, 아니면 textarea 로 노출 ?>
<?php if($write_min || $write_max) { ?>
<!-- 최소/최대 글자 수 사용 시 -->
<div id="char_count_wrap"><span id="char_count"></span>글자</div>
<?php } ?>
</td>
</tr>
답변 1
위 내용을 전부 주석 처리하시거나 삭제후
form 밑에 보면 <input type=hidden...... 등이 있을 겁니다. 거기에 다음을 끼어 넣으세요.
<input type="hidden" name="wr_content" value="내용입니다.">
답변을 작성하시기 전에 로그인 해주세요.