1
私は以下のlinkを使用して検証エラーメッセージを表示しています。検証のエラーメッセージを変更してください
私はこの使用していますよう:検証長を私のようにエラーメッセージを取得しています:
Text length does not satisfy specified text range
が、私はこのメッセージを変更したい:
"Zip code is not servicable
"
<input placeholder="Enter your PIN Code" class="input-text
<?php if ($this->isFieldRequired('postcode')):?>
required-entry
<?php endif;?>
validate-length maximum-length-6 minimum-length-6 validate-digits"
type="text"
id="estimate_postcode"
name="estimate[postcode]"
value="<?php echo $this->htmlEscape($this->getFieldValue('postcode')) ?>"
onkeydown="if (event.keyCode == 13) { return false;}"
/>
:あなたはそれがaddJs方法でファイルのJS追加する必要があり、レイアウトファイルで
:
その後、そのoverride.jsファイルにこのコードを書きますええと。 – fresher
あなたはそれを稼働させましたか? – Gilko
ありがとうございました.... – fresher