This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:tools:bankstatus_widget [2019/09/03 17:55] michaelheumann removed |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Bank Selection Widget ===== | ||
- | |||
- | The Bank Selection Widget may be used to add an autocomplete functionality to any existing form input field for a BIC or a German banking code (BLZ). | ||
- | |||
- | ==== demonstration ==== | ||
- | [[https:// | ||
- | |||
- | |||
- | ==== Integration ==== | ||
- | |||
- | === Native Javascript Widget (pure JS) === | ||
- | This widget was implemented in pure JS and does not require third-party libraries. | ||
- | |||
- | Including the required files: | ||
- | |||
- | * Line 1: Includes stylesheet | ||
- | * Lines 2: Includes Widget Script | ||
- | |||
- | <code html> | ||
- | 1 <link rel=" | ||
- | 2 <script src=" | ||
- | </ | ||
- | |||
- | Event " | ||
- | |||
- | <code html> | ||
- | 1 <input type=" | ||
- | </ | ||
- | |||
- | Event " | ||
- | |||
- | <code html> | ||
- | 1 <input type=" | ||
- | </ | ||
- | |||
- | The widget may be configured through several parameters (parameters 3 and 4 of the girocheckout_widget call): | ||
- | |||
- | ^Parameter ^Type ^Value ^Description^ | ||
- | |return |String |blz \\ bic | Defines whether the BIC or the bank code (BLZ) is to be displayed in the field once the bank has been selected. You should usually put ' | ||
- | |kind |integer | 0 = All banks are available for selection \\ 1 = Only banks that support giropay \\ 2 = Only banks that support giropay-ID | Defines which banks are available for selection. | | ||
- | |||
- | That is all! | ||