Garlic

Component ID

1943878

Component name

Garlic

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

677

Component created

Component changed

Component body

Integrates the Garlic.js library with Drupal forms.

Garlic allows you to save the state of an incomplete form to the local storage of your browser. This helps remedy accidental browser window closing or general "murphy's law" conundrums when filling in form data.

Note on security

Garlic stores the values saved on forms to the local storage in the browser. This means if you're using the library on a login form or on a form with financial data or any other "secret" information that information is stored in plain text in the browser. It's up to the developer to take care of securing/cleaning up that kind of data.