How to add house_number validation name to label like this {{ __('shop::app.customer.signup-form.street') }} in signup page



  • Hi,

    How to add house_number validation name to label like this {{ __('shop::app.customer.signup-form.street') }}, if I add How to add house_number validation name to label like this {{ __('shop::app.customer.signup-form.house_number') }} then it shows like this The "shop::app.customer.signup-form.house_number" field is required. Please give me suggestion on this issue, thank you in advance.



  • Hi @Keerthi ,

    Use 'data-vv-as' to show error & provide translation to them. In your case, you are missing translations.

      <input type="text" class="control" name="first_name" v-validate="'required'" value="{{ old('first_name') }}" data-vv-as="&quot;{{ __('shop::app.customer.signup-form.firstnamenc') }}&quot;">
    

    Thanks


Log in to reply