묻고답하기

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




현재 제가 사용하고 있는 멤버 스킨의 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 NaviGator
언데드 첨부파일 저장 경로 변경이 가능한가요?? [1] 2013.03.26 by NaviGator
파란날개115 파일첨부 제한이 2M이상으로 설정이 불가능합니다. [1] file 2013.03.26 by 송동우
우영아빠 1.7.0 관리메뉴에서 화면 설정 문제.(게시판 설정 화면과 레이아웃 메뉴가 표시 안되는 문제 발생) file  
몽실아빠 닉네임 길이를 제한하였습니다. [1] 2013.03.26 by 몽실아빠
갤러리 팝업창에 제목달기..  
허당마스터 함수추가할 경우. 만약 코어버젼을 업데이트하면 함수도 날아가나요? [1] 2013.03.26 by 푸시아
맛깔 xe 쉬운설치 - 서버접속이 원활하지 않습니다. [1] 2013.03.26 by Double'U'
뮤르시엘라고 이게 무슨 게시판인가요? 신기한데요? [1] 2013.03.26 by pentopen
Sean_ 이곳에 사용된 자바스크립트를 구하고 있습니다. [2] 2013.03.26 by Sean_
Fidelity 미려한 그래프를 그리려면 어떻게 해야 하나요? [1] 2013.03.26 by Double'U'
Null 설치시 신경써야할 부분  
지난해11월 스켓치북 레이아웃 가로 스크롤 바를 만들려고요.. [2] 2013.03.26 by 지난해11월
한닥터 잘 되던 갤러리 게시판이 문서를 못보게 되었어요. [1] 2013.03.26 by 한닥터
빛의바다 1.5.4.3에서 1.7.3으로 코어를 업데이트 했는데 모듈 업데이트가 계속 뜹니다.. [1] file 2013.03.26 by SEAN76
atrack80 최신코어 업데이트중 에러. [1] 2013.03.26
ramia1 blogapi 이미지 첨부 어떻게 구현하나요?  
letzdance 폰트관련 질문합니다. [1] 2013.03.26 by DynamicLaser
펑키팡키 제로보드 에러낫는데 도와주세요 [1] 2013.03.26 by 송동우
블루맨 인터널 에러  
미삐아초노 게시판에 글쓰기 시 기본정보 넣기 [1] 2013.03.26 by 송동우
꿈틀잉 댓글 수정 불가하게 하고싶어요.. [2] 2013.03.26 by 송동우
믹키육천원 댓글에 일정추천수 이상되면 테두리가 생기게 하고싶어요. [2] 2013.03.26 by 송동우
걷고있는그녀 구글 웹마스터 사이트 추가 할려고하는데요. [3] 2013.03.25 by 바바리아
숙희 관리자 로그인(1.7.3.0)시에 생기는 어드민(Admin) 바 없앨려면 [3] 2013.03.25 by 쓰리공주
koreafeel xe 1.7.3.0 설치했는데 쉬운설치가 안되네요.. [2] 2013.03.25 by 쓰리공주
박하향풍선껌 1.7.2 업데이트 이후 메뉴 추가 및 수정불가 [1] file 2013.03.25 by 쓰리공주
familyman wix 내에 게시판 만들기 가능한가요?  
CN- 분류별로 별도 양식을 적용하는 방법?  
타마릭스 레이아웃적용이 한참 있다 적용이 됩니다. [1] 2013.03.25