Jump to content

Gift certificate - form issue


fettlebox

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...