[SOLVED]Hide AutoComplete on Date Input Fields

Home – SaaS Forums Support questions WooPrice Calculator (Pro) [SOLVED]Hide AutoComplete on Date Input Fields

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5291
    Michael
    Participant

    Hi there.

    When using date input field, autosuggestions block the calendar. Please see attached screenshot. I have tested autocomplete = false with Chrome Dev Tools and it works (in chrome at least) to hide the suggestions.

    I have looked everywhere for the bit of code that builds the date input fields so that I can add autocomplete = false but can’t find it anywhere.

    Can you show me where these fields are generated from within your plugins code?

    Also, I wish to restrict the times available to be selected from datetime field. I have already managed to restrict days to Monday – Friday but can’t find the place to restrict times. [attachment=345]Screenshot.png[/attachment]

    Thank you.

    #5293
    Michael
    Participant

    EDIT:

    It’s ‘ autocomplete=”off” ‘ not “false”.

    I ended up using a find and replace plugin to find ‘ type=”text” ‘ and replace with ‘ type=”text” autocomplete=”off” ‘ when page is loaded.

    I would still be interested to know where code that generates the fields is within your plugin as editing the code there is a nicer solution than find and replace!

    Great plugin by the way – thanks.

    #5292
    bill
    Participant

    Hello Michael,

    about your request, you can change or modify the WPC fields, without changing the core code.
    Here are the documentation how you can achieve that:
    https://altoswebsolutions.com/manual/woo-price-calculator/advance-field-customization
    https://altoswebsolutions.com/manual/woo-price-calculator/using-themes

    Waiting for your feedback
    Kind Regards
    Bill
    AT988

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