fettlebox Posted June 24, 2015 Share Posted June 24, 2015 I'm looking to push the gift certificates & noticed on the purchase form that although I have the delivery option set to 'digital only' so email is the only delivery method the Recipient Email field is not compulsory. How do I fix that please? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted June 24, 2015 Share Posted June 24, 2015 I don't use certificates, so I can only give you a general idea. Look at the code for content.register.php in skins templates, and you will see how required is added to a field.such as <div class="small-12 large-8 columns"><label for="email" class="show-for-medium-up">{$LANG.common.email}</label><input type="text" name="email" id="email" value="{$DATA.email}" placeholder="{$LANG.common.email} {$LANG.form.required}" required ></div> The selector may make this harder - I really don't know. Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 24, 2015 Share Posted June 24, 2015 I haven't looked at the GC form in a while, so...That would definitely be a bug, solvable by javascript setting this field to required if and only if the delivery method is email or both.I also wonder if the delivery method by mailable card certificate should show a gift delivery address. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.