묻고답하기

길이를 초과해서 입력해서 가입 시도를 하면 단순 에러 메세지만 출력되고 가입창 초기로 돌아가기 때문에 방문자에게 안내를 해 줄 필요가 있을 것 같습니다.




현재 제가 사용하고 있는 멤버 스킨의 signup_form.html 의 코드 입니다. 닉네임 입력항목 옆에 안내문구를 넣어주고 싶습니다.



PC스킨



<load target="../../tpl/js/signup_check.js" />

<!--// datepicker javascript plugin load -->

<!--%load_js_plugin("ui")-->

<!--%load_js_plugin("ui.datepicker")-->

<include target="./common_header.html" />

<div id="border" style="width: 90%">

    <h1 class="h1">{$lang->cmd_signup}</h1>

<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">

<p>{$XE_VALIDATOR_MESSAGE}</p>

</div>

    <form ruleset="@insertMember" id="fo_insert_member" class="form" action="./" method="post" enctype="multipart/form-data">

<input type="hidden" name="act" value="procMemberInsert" />

<div class="agreement" cond="$member_config->agreement">

<div class="text">

{$member_config->agreement}

</div>

<div class="confirm">

<input type="checkbox" name="accept_agreement" value="Y" id="accept_agree" />

<label for="accept_agree">{$lang->about_accept_agreement}</label>

</div>

</div>

<table>

<tr>

<th scope="row" id="signup_th">{$identifierForm->title} <em style="color:red">*</em></th>

<td id="signup">

<input type="text" name="{$identifierForm->name}" value="{$identifierForm->value}" />

</td>

</tr>

<tr>

<th scope="row" id="signup_th">{$lang->password} <em style="color:red">*</em></th>

<td id="signup"><input type="password" name="password" value=""/>

<span class="desc">{$lang->about_password}</span></td>

</tr>

<tr>

<th scope="row" id="signup_th">{$lang->password3} <em style="color:red">*</em></th>

<td id="signup">

<input type="password" name="password2" value=""/>

</td>

</tr>

<tr loop="$formTags=>$formTag" cond="$formTag->name != 'signature'">

<th scope="row" id="signup_th">{$formTag->title}</th>

<td id="signup">{$formTag->inputTag}</td>

</tr>

<tr>

<th scope="row" id="signup_th">{$lang->allow_mailing}</th>

<td id="signup">

<input type="radio" name="allow_mailing" id="mailingYes" value="Y" checked="checked"|cond="$member_info->allow_mailing == 'Y'||!$member_info->allow_mailing"> <label for="mailingYes">{$lang->cmd_yes}</label>

<input type="radio" name="allow_mailing" id="mailingNo" value="N" checked="checked"|cond="$member_info->allow_mailing == 'N'" > <label for="mailingNo">{$lang->cmd_no}</label>

</td>

</tr>

<tr>

<th scope="row" id="signup_th">{$lang->allow_message}</th>

<td id="signup">

<block loop="$lang->allow_message_type=>$key,$val">

<input type="radio" name="allow_message" value="{$key}" checked="checked"|cond="$member_info->allow_message == $key || (!$member_info && $key == 'Y')" id="allow_{$key}" /> <label for="allow_{$key}">{$val}</label>

</block>

</td>

</tr>

</table>

<div class="btnArea">

<span class="btn"><input type="submit" value="{$lang->cmd_registration}" /></span>

<span class="btn"><a href="{getUrl('act','','member_srl','')}">{$lang->cmd_cancel}</a></span>

</div>

</form>

</div>

<script type="text/javascript">

(function($){

$(function(){

var option = { changeMonth: true, changeYear: true, gotoCurrent: false,yearRange:'-100:+10', dateFormat:'yy-mm-dd', onSelect:function(){

$(this).prev('input[type="hidden"]').val(this.value.replace(/-/g,""))}

};

$.extend(option,$.datepicker.regional['{$lang_type}']);

$(".inputDate").datepicker(option);

$(".dateRemover").click(function() {

$(this).prevAll('input').val('');

return false;});

});

})(jQuery);

</script>

<include target="./common_footer.html" />





--------------------------------------------------------------------------------------------------------------------


모바일 스킨


<load target="./../../../../common/js/jquery.min.js" usecdn="true" index="-1000000" />
<load target="./../../../../common/js/xe.min.js" usecdn="true" index="-1000000" />
<load target="css/msignup.css" usecdn="true" />
<load target="../../tpl/js/signup_check.js" />
<div class="bd">
<div class="hx h2">
<h2>{$lang->cmd_signup}</h2>
</div>
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/m.skin/default/signup_form/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form ruleset="@insertMember" id="fo_insert_member" class="ff" action="./" method="post" enctype="multipart/form-data">
<input type="hidden" name="module" value="member" />
<input type="hidden" name="act" value="procMemberInsert" />
<input type="hidden" name="xe_validator_id" value="modules/member/m.skin/default/signup_form/1" />
<!--@if(!$is_logged && $member_config->agreement)-->
<div class="agreement">
<div class="text">
{$member_config->agreement}
</div>
<div class="confirm">
<input type="checkbox" name="accept_agreement" value="Y" id="accept_agree" />
<label for="accept_agree">{$lang->about_accept_agreement}</label>
</div>
</div>
<!--@end-->
<ul>
<li> 
<label for="{$identifierForm->name}">{$identifierForm->title} <em style="color:red">*</em></label>
<input type="text"|cond="$identifierForm->name!='email_address'" type="email"|cond="$identifierForm->name=='email_address'" name="{$identifierForm->name}" id="{$identifierForm->name}" value="{$identifierForm->value}" />
</li>
<li> 
<label for="password">{$lang->password} <em style="color:red">*</em></label>
<input type="password" name="password" id="password" value=""/>
</li>
<li> 
<label for="password2">{$lang->password3} <em style="color:red">*</em></label>
<input type="password" name="password2" id="password2" value=""/>
</li>
<li loop="$formTags=>$formTag" cond="$formTag->name != 'signature'">
<label for="{$formTag->name}">{$formTag->title}</label>
<div>{$formTag->inputTag}</div>
</li>
<li> 
<label>{$lang->allow_mailing}</label>
<input type="radio" name="allow_mailing" id="mailingYes" value="Y" checked="checked"|cond="$member_info->allow_mailing == 'Y'" /> <label for="mailingYes">{$lang->cmd_yes}</label>
<input type="radio" name="allow_mailing" id="mailingNo" value="N" checked="checked"|cond="$member_info->allow_mailing != 'Y'" /> <label for="mailingNo">{$lang->cmd_no}</label>
</li>
<li> 
<label>{$lang->allow_message}</label>
<block loop="$lang->allow_message_type=>$key,$val">
<input type="radio" name="allow_message" value="{$key}" checked="checked"|cond="$member_info->allow_message == $key || (!$member_info && $key == 'Y')" id="allow_{$key}" /> <label for="allow_{$key}">{$val}</label>
</block>
</li>
</ul>
<div class="bna">
<input type="submit" class="bn dark" value="{$lang->cmd_registration}" />
</div>
</form>
</div>


글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
몽실아빠 닉네임 길이를 제한하였습니다. [1] 2013.03.26 by 몽실아빠
우영아빠 1.7.0 관리메뉴에서 화면 설정 문제.(게시판 설정 화면과 레이아웃 메뉴가 표시 안되는 문제 발생) file  
파란날개115 파일첨부 제한이 2M이상으로 설정이 불가능합니다. [1] file 2013.03.26 by 송동우
언데드 첨부파일 저장 경로 변경이 가능한가요?? [1] 2013.03.26 by NaviGator
웹드 게시판 끼리 필드 참고 연결 연동은 방법없나요? [1] 2013.03.26 by NaviGator
우스타파 textyle 설치 질문이요~ file  
taijisk 게시판에 각 언어별 게시물만 볼 수 있을까요? [1] 2013.03.26 by 송동우
믹키육천원 댓글에 일정수 이상 비추천 받을 때 이미지변화 [1] 2013.03.26 by 송동우
꿈틀잉 게시판 게시물 클릭시 게시판 이름 나오는 문제...  
브레인630 연관글 출력 애드온과 관련하여 [2] 2013.03.26 by 브레인630
소라s xe 복구(포장이사) 질문 [2] 2013.03.26 by 빛의바다
verysery SSL 보안접속 설정 문의 [2] 2013.03.26 by 빛의바다
oasiscorea 일주일 작업한 걸 한방에  
nugul 익명게시판 질문입니다 [1] 2013.03.26 by 송동우
디또 제목에 취소선을 넣지 못하나요? [1] 2013.03.26 by 송동우
Fidelity 메뉴 이미지가 어긋날 때. [1] file 2013.03.26 by rosery
김진현859 회원가입폼 생일에 삭제버튼 [1] file 2013.03.26 by 송동우
하늘푸른밤 외부페이지가 적용이 되지 않습니다.  
taijisk 지정언어 게시물만 노출 [1] 2013.03.26 by 송동우
taijisk 게시판에 lang_code가 en인 게시물만 노출 가능한가요? [4] 2013.03.26 by 송동우
DJ쿤타 다시한번 질문합니다.... !!!!!!!!!!!!  
나이짱 로그인연동 외부페이지 질문이요 [6] 2013.03.26 by 송동우
박선훈537 Contact Us 모듈 관리자 페이지 수정 [1] file 2013.03.26 by 송동우
socialskyo 포럼 모듈 문의  
모찌모찌 1.5.3.1 사용중에 코어 버전 업 하려고 합니다. [1] 2013.03.27 by 송동우
XE만세 스케치북5 전체검색 결과에서 사진 썸네일 숨기기..  
nugul 익명게시판 다시 질문합니다ㅠㅠ [1] 2013.03.27 by 송동우
pentopen xe 1.5.4.3에서 게시판 닉네임에 링크 안걸리게 할수있는방법 알려주세요. [2] 2013.03.27 by 송동우
뮤르시엘라고 위젯을 여러번 사용하면 에러가 납니다 (흰색 빈 페이지) [1] 2013.03.27
뮤르시엘라고 1.7.3에서 페이지 수정 위젯들이 여백이 있게보여요