mariusqw Posted January 16, 2019 Share Posted January 16, 2019 Hello everybody, I faced with the issue, that I have been trying to solve half a day. What I want to achieve is - that user only needs to put email, no passwords and other stuff. [ Guest order ]; form-fields.tpl: {elseif $field.type === 'password'} {block name='form_field_item_password'} <div class="input-group js-parent-focus"> <input class="form-control js-child-focus js-visible-password" name="{$field.name}" type="password" value="" pattern=".{literal}{{/literal}5,{literal}}{/literal}" {if $field.required}required{/if} > <span class="input-group-btn"> <button class="btn" type="button" data-action="show-password" data-text-show="{l s='Show' d='Shop.Theme.Actions'}" data-text-hide="{l s='Hide' d='Shop.Theme.Actions'}" > {l s='Show' d='Shop.Theme.Actions'} </button> </span> </div> {/block} If I delete this code, password line still exsits; This is what i done so far: http://prntscr.com/m82c7d Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now