t

내용입력폼을 여러개 만들기 질문 드립니다.

<tr>
<td class=write_head style='padding-left:20px;'>상품안내</td>
<td style='padding:5 0 5 0;'>
<? if ($is_dhtml_editor) { ?>
<?=cheditor2('wr_content', $content);?>
<? } else { ?>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=50% align=left valign=bottom>
<span style="cursor: pointer;" onclick="textarea_decrease('wr_content', 10);"><img src="<?=$board_skin_path?>/img/up.gif"></span>
<span style="cursor: pointer;" onclick="textarea_original('wr_content', 10);"><img src="<?=$board_skin_path?>/img/start.gif"></span>
<span style="cursor: pointer;" onclick="textarea_increase('wr_content', 10);"><img src="<?=$board_skin_path?>/img/down.gif"></span></td>
<td width=50% align=right><? if ($write_min || $write_max) { ?><span id=char_count></span>글자<?}?></td>
</tr>
</table>
<textarea id="wr_content" name="wr_content" class=tx style='width:100%; word-break:break-all;' rows=10 itemname="상품안내" required
<? if ($write_min || $write_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?>><?=$content?></textarea>
<? if ($write_min || $write_max) { ?><script language="javascript"> check_byte('wr_content', 'char_count'); </script><?}?>
<? } ?>
</td>
</tr>
<tr><td colspan=2 height=1 bgcolor=#dddddd></td></tr>

위와 같은 내용입력폼이 있습니다.
입력폼을 복수로 만들어 사용하고 싶습니다.
wr_5로 입력폼을 만들려고 하는데 어찌해야하는지요.. 단순히 wr_content 만 wr_5로 바꿔서는 안되는것 같습니다.
|

댓글 1개

wr_content에 값이 없으면 저장이 되지 않습니다.
어떤 입력폼을 만들려는것인지 특정한 항목을 추가하려면 그냥 wr_5를 추가하시면 됩니다.
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
15년 전 조회 1,790
15년 전 조회 1,660
15년 전 조회 892
15년 전 조회 3,070
15년 전 조회 1,510
15년 전 조회 948
15년 전 조회 1,294
15년 전 조회 966
15년 전 조회 949
15년 전 조회 1,600
15년 전 조회 811
15년 전 조회 1,607
15년 전 조회 1,449
15년 전 조회 1,536
15년 전 조회 1,546
15년 전 조회 922
15년 전 조회 945
15년 전 조회 928
15년 전 조회 1,618
15년 전 조회 1,134
🐛 버그신고