묻고답하기

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




현재 제가 사용하고 있는 멤버 스킨의 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 남기남
가나님 제로보드에서 로그인후 페이지 이동하는것..........  
나도한축 mysql 업데이트 관련해서요  
아라몰라 www 붙지 않는 경로문제에 관하여 [1] 2007.12.10 by leeple
진한모카향기 게시판연동이 안되네요.. [1] 2007.12.10 by 백성찬
숀마이박 php의 mail()을 이용하여 메일 보낼때 태그가... [3] 2007.12.10 by 괄리자
xeido 페이지 권한에 대한 질문드립니다..  
진한모카향기 자료실에 왜 자료가 안올라가죠? [1] 2007.12.10 by 백성찬
권용철440 제로보드xe 레이아웃 질문드립니다. (수정) [3] 2007.12.10 by 권용철440
윤구현 zbxe 폴더에 광고 이미지가 하나 올라와있습니다. file  
진한모카향기 파일권환을 주어도 파일이 안올라가는데...ㅜㅜ  
농부18호 기본 카운터  
튀긴건빵 we.ro 도메인연결과 관련하여 ^^ [4] 2007.12.10 by 튀긴건빵
아이고참 페이지내용직접입력 하고 나서  
신현수126 공지 안보입니다. [1] 2007.12.11 by 써니
박영주964 서버 이전했는데 문제가.. [1] 2007.12.11 by crasher
만통쩜넷 엮인글 제대로 에러납니다.^^;;  
네오랑 외부페이지 호출 시 include 구문으로 호출하나요?/  
쏘프티 구글 analytics 리포트를 게시판에서 자동으로 볼 수 없을까요?  
끄눙 에혀 xe 설ㅊㅣ하거 싶어두 업체 mysql버전이 4.x라 설치도못하네여  
이돌이6 페이지 수정에 대해서 [1] 2007.12.11 by 백성찬
고건영898 zbxe 최근문서, 이렇게 추출할 수 있을까요? [2] file 2007.12.11 by 고건영898
푸른솔아 프로필사진이 나오게 하려면 어떻게 하는지요 [1] 2007.12.11 by 이하늘936
질문 업데이트는 어떻게 하나요? [1] 2007.12.11 by 이하늘936
덴마쿠3 0.2.3에서 0.2.7로 업데이트 시 모듈업데이트 부분 궁금합니다 [3] 2007.12.11 by 이하늘936
MC 바리반디 이 게시물을... [1] 2007.12.11 by 백성찬
박양식 요청하신 모듈을 찾을 수 없습니다. 설치화면 반복현상  
아름이 최근이미지가 도저히 안 나오네요. [3] 2007.12.11 by 마알지기
765 페이지 수정시의 문제점  
부우우 최근게시물 [2] 2007.12.11 by 부우우
이창훈785 웹브라우져 종류가 어떤것이 있나요? [2] 2007.12.11 by 이창훈785