[SOLVED]Input date on Android

Home – SaaS Forums Support questions WooPrice Calculator (Pro) [SOLVED]Input date on Android

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7298

    Hello,

    i use WPC Pro. I test the website on Android and iOs. It is fully responsive but… the input date field does show a HTML date picker AND the Androit text keyboard (same on iOs).

    I did some research, it is because the input type field is in in fact a “text” instead of a “date”

    So i guess the solution is to check with jQuery if the device is mobile or desktop and to change the input type into “date” for mobile. I will try today, but i liked to know if some of you have already a solution (and which one) ? Does the switch to type=date creates a conflict with WPC ?

    Greetings.

    #7300

    It’s done :

    -> simple line of jQuery to add :

    $(‘input[name=aws_price_calc_XX]’).replaceWith(‘‘ );

    The results of the calculation is good.

    #7299
    Paul
    Participant

    Hello,

    Sorry for the late reply.
    Anyway it’s great that you got to solved it by yourself!
    well done!

    Best Regards
    Paul
    AT598

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.