채택완료

form안에 테이블을 넣게되면, 액션이 되지 않는데, 테이블을 지워야만 해결할 수 있는걸까요?

form안에 table을 넣게되면, 액션이 되지 않는데, 테이블을 지워야만 해결할 수 있는걸까요?

Copy
<form name="contactform" method="post" action="./sendzoom.php"  enctype="multipart/form-data">
                            <table>
           

                            <tr class="true_chk">
                                <th scope="row">
                                <label for="catego" class="form_tit">날짜 선택</label></th>
                                <td class="">
                                <label class="check_box_la" style="display: inline-table; margin-bottom:5px;"><input type="checkbox" name="catego[]" value="5월7일(금요일)" class="radio_box">5월7일(금요일) </label>
                                <label class="check_box_la" style="display: inline-table; margin-bottom:5px;"><input type="checkbox" name="catego[]" value="5월11일(화요일)" class="radio_box">5월11일(화요일)</label>
                                </td>
                            </tr>

                            <tr>
                            <th scope="row">
                            <label for="com_name" class="form_tit">이름 또는 기업명</label></th>
                            <td>

                            <input name="com_name"  type="text" class="ipt int" size="30" maxlength="50" placeholder="이름 또는 기업명을 작성해 주세요." required >
                            </td>
                            </tr>

                            <tr>
                            <th scope="row">
                            <label for="telephone" class="form_tit">연락처</label></th>
                            <td>
                            <input name="telephone"  type="text" class="ipt int" size="30" maxlength="30" placeholder="연락처를 기재해 주세요." required >
                            </td>
                            </tr>

                            <tr>
                            <th scope="row">
                            <label for="email" class="form_tit">이메일</label></th>
                            <td>
                            <input name="email"  type="text" class="ipt int" size="30" maxlength="80" placeholder="이메일을 작성해 주세요" required >
                            </td>
                            </tr>

                            <tr>
                            <th scope="row">
                            <label for="address" class="form_tit">지역</label></th>
                            <td>
                            <input name="address"  type="text" class="ipt int" size="30" maxlength="80" placeholder="주소를 작성해 주세요" required >
                            </td>
                            </tr>


                            <tr class="tx_ar">
                            <th scope="row">
                            <label for="comments" class="form_tit">소개내용<br><strong style="color:#ccc; font-size:.77em; font-weight:100;">(생략가능)</strong></label></th>
                            <td height="70" valign="bottom">
                              <textarea  name="comments" cols="50" class="tx_area int" rows="5" placeholder="간단한 소개내용 또는 문의사항을 적어주세요." value=""></textarea></td>
                            </tr>

                            <tr class="btn_com">
                            <td height="40" colspan="2" style="text-align:center">
                            <input type="submit" value="보내기" class="btn_submit submit_btn">
                            <!--<input name="재설정" type="reset" value="다시작성" class="btn_submit">--></td>
                            </tr>
                            </table>
                            </form>
|

답변 3개 / 댓글 1개

채택된 답변
+20 포인트
2021-05-04 (화) 14:24:04

폼안에 넣는다고 안될 이유는 특별히 없는데 어디에 넣으셨는데 안되시는건가요?

답변에 대한 댓글 1개

지금 코드처럼 폼안에 테이블을 넣었는데, input에 대한 submit을 클릭해도 클릭이되지않습니다.

그런데 <table></table>이부분만 지워도 작동이 됩니다...ㅠ
2021-05-05 (수) 02:19:32

해당 페이지 URL을 알 수 있을까요?

2021-05-04 (화) 15:30:35

별도의 스크립트로 섭밋제어하는게 아닌지 확인해보세요

폼과 테이블은 관계가없습니다

답변을 작성하려면 로그인이 필요합니다.