Helpcenter +918010117117 https://help.storehippo.com/s/573db3149f0d58741f0cc63b/ms.settings/5256837ccc4abf1d39000001/57614ef64256dc6851749879-480x480.png" [email protected] https://www.facebook.com/StoreHippohttps://twitter.com/StoreHippohttps://www.linkedin.com/company/hippoinnovations/https://plus.google.com/+Storehippo/posts
B4,309-10 Spaze iTech Park, Sector 49, Sohna Road, 122001 Gurgaon India

ms.form.register

This widget is used to render User Registration form. All form widgets work in a similar way which is explained in ms.forms widget. On submit, the user add API is called and form data is passed to the API.


    Examples

    Show Register from (vuejs themes)

     
    <h2>
        {{ms.filters.translate('Signup')}}
    </h2>
    <ms-form-register @success="ms.goTo(ms.searchParams.redirect || ms.fromPage?.url || '/')">
        <w-form-layout :form="form"></w-form-layout>
    </ms-form-register>
    
    <!-- Request For New Account -->
    <div>
        {{ms.filters.translate('Have an account')}} ?
        <a role="button" class="text-dark fw-bold" :title="ms.filters.translate('Login to your account')"
            @click="ms.goTo('/user/login')">
            {{ms.filters.translate('Login to your account')}}
        </a>
    </div>
     

    Show Register from (angular themes)

    <h2>
        {{'Signup'|msTranslate}}
    </h2>
    <div ms-widget="ms.th2.register_controller" class="register-form" ms-data-formname="register" ms-data-buttonname="register" class="">
        <form name="enquiry" ng-submit="submit()" ms-success="ms.location.path('/')">         
            <div ms-widget="form_layout"></div>
        </form>
    </div>
    <span class="ms-fs-12">{{'Already have an account'|msTranslate}}?
        <a title="{{'Login'|msTranslate}}"
            data-ng-click="removepop('.modal');ms.location.path('/user/login')">
            {{'Login'|msTranslate}}!
        </a>
    </span>