Bubble - Credit Card Validator Plugin

Overview

This is a simple Plugin that allows you to check the validity, card type and length validity of a credit card number that is entered by an user into an input field.

For a demo please visit: https://creditcardvalidator.bubbleapps.io/‚Äč

Instructions

Simply drag the Card Validator element to your page and go to settings->general and tick the box to add an ID attribute to HTML elements. Drag an input onto your page and enter an ID attribute of your choice. Enter the same ID attribute into the "input_id" field of the Card Validator element. You should have access to the card validity, card type and length validity by using the exposed states of the Card Validator element. For example: CardValidator's A Card Type.