bheyde
2/6/2021 - 9:44 PM

lock Customer Quick Add - Form

<mvt:if expr="l.settings:page:code EQ 'INVC' AND g.Basket:cust_id EQ 0">
	<form class="o-layout__item" method="post" action="&mvte:urls:ACLN:secure;">
		<p class="u-text-bold u-text-center u-text-left--m">Create An Account To Checkout Faster Next Time</p>
		<fieldset>
			<legend>Create An Account</legend>
			<input type="hidden" name="Action" value="ICSQ" />
			<input type="hidden" name="CSRF_Token" value="&mvte:global:Basket:csrf_token;">
			<div class="o-layout o-layout--narrow c-form-list">
				<div class="o-layout__item c-form-list__item">
					<label class="c-form-label u-font-tiny u-text-bold u-text-uppercase is-required" for="Customer_LoginEmail">Email Address</label>
					<mvt:if expr="NOT g.Data_Entry_Error">
					    <mvt:assign name="g.Customer_LoginEmail" value="g.Order:ship_email" />
					</mvt:if>
					<input id="Customer_LoginEmail" class="c-form-input c-form-input--large" type="email" inputmode="email" name="Customer_LoginEmail" value="&mvte:global:Customer_LoginEmail;" autocomplete="email" required aria-required="true">
				</div>
			</div>
			<label class="c-form-label u-font-tiny u-text-bold u-text-uppercase is-required" for="Customer_Password">Password</label>
			<div class="o-layout o-layout--narrow c-form-list">
				<div class="o-layout__item c-form-list__item">
					<input id="Customer_Password" class="c-form-input c-form-input--large" type="password" name="Customer_Password" autocomplete="new-password" required>
				</div>
				<div class="o-layout__item c-form-list__item">
					<input class="c-button c-button--full c-button--huge u-bg-gray-50 u-color-white u-font-small u-text-bold u-text-uppercase" type="submit" value="Create My Account">
				</div>
			</div>
		</fieldset>
	</form>
</mvt:if>