GithubHelp home page GithubHelp logo

growella / gravityforms-autocomplete-fields Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 3.0 84 KB

Extension for Gravity Forms that enables `autocomplete` attributes to be assigned to form fields.

License: MIT License

PHP 100.00%
autocomplete gravity-forms wordpress wordpress-plugin

gravityforms-autocomplete-fields's People

Contributors

stevegrunwell avatar terrence-giggy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gravityforms-autocomplete-fields's Issues

How to create custom unsupported label

I have a multi-page form with inputs such as chained selects and multiple addresses and country choices throughout the form which differ, eg choice of jurisdiction country vs HQ location country of company. Autofill (without your plugin) is back-filling fields on prior pages overwriting data which the user has already entered, which is a disaster. It also resets 'chained-selects' dropdowns when it does this and triggers a gravitypdf-previewer on last page to reload, showing the new erroneous data when the customer is at final stage, filling their billing details and chooses say country for their billing address.

Google have now disabled the option to disable autofill and autocomplete in Chrome: https://stackoverflow.com/questions/47775041/disable-autofill-in-chrome-63

The only workaround to stop google interfering with your form fields it seems is to tell it the field label is some unsupported type like 'Leave_it_alone_1' instead of eg. country. On this plugin I am restricted to selecting one of the known labels. Can you add in the choice of making a new unsupported custom labels I can type in, as an alternative to your drop-down choices, so that it blocks chrome from trying to be 'helpful'.

I am not sure how or where I could do this manually.
Thank you.

Autocomplete list format

Need to determine the final format for the output of Core\get_autocomplete_values(); right now, it's a flat list, but a case could be made for supporting nested arrays to group similar types.

Automatically assign sub-labels to complex inputs

The autocomplete attribute specification supports more detailed values (e.g. "honorific-name", "given-name", "additional-name", etc.), which would make sense for complex fields like "Name".

Instead of just saying "the first input represents a name", we'd be able to say "when building a complex name field that has the autocomplete attribute of 'name', the first name has an autocomplete value of 'given-name', the last name is the 'family-name', etc."

To avoid false positives, the user would still have to assign "name" as the autocomplete attribute on the Gravity Forms field, but the inputs could then receive more appropriate values.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.