Frequently asked questions Custom Code

How do I set up an autofill form (enable autocomplete in forms)?

How do I set up an autofill form (enable autocomplete in forms)?

Examples below require knowledge of Javascript and CSS. Tilda Customer Support does not assist in code-related questions.

To enable autofill for all input fields in forms, add the code below:

<script>
    $(function () {
        $("form input").each(function () {
            $(this).attr('autocomplete', 'on');
        });
    });
</script>

You may also add this code to the HEAD section or block T123 from the "Other" category.

Was this answer helpful?
Yes
0
No
0
Views: 9246