Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

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

    Knowledge Base
    2
    2
    374
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Keerthi last edited by Keerthi

      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.

      1 Reply Last reply Reply Quote 1
      • R
        rahul last edited by

        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

        1 Reply Last reply Reply Quote 1
        • First post
          Last post