Adding "/"to the date field

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeAdding "/"to the date field

This topic has been marked as not a support question.

Guys, is it possible to put “/” on the date field so as the customer fills his date of birth, for example, the numers skip automaticaly to the next space. I’ll try to be clearer.. hmmm….
Let’s say you are filling your date of birth, so you have the field with 8 digits (DD/MM/YYYY). But this field doesn’t have the “/”, so the customer has to type DD “/” MM “/” YYYY. I wanna know if it is possible to add the bar in the field so the customer doesnt have to type it when entering his date of birth and when you type DD, the cursor skips automaticaly to the MM place and so to the YYYY place Is it possible? thanks in advance

(using shoppica 2 and OC 1.5.3.1)

September 28, 2012 at 9:38 pm #13795

Hi,

You can use some javascript plugin, like this one e.g:

http://digitalbush.com/projects/masked-input-plugin/

Best,
ThemeBurn team

October 3, 2012 at 11:46 am #13934

Thanks, guys :D Perfect!

October 3, 2012 at 6:54 pm #13941

You are welcome, mate :)

Best,
ThemeBurn team

October 5, 2012 at 4:57 pm #14023
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.