skeuocard
skeuocard copied to clipboard
Display-only?
Would it be possible to use skeuocard to show a read-only version with pre-filled data?
I am thinking about adding it to some of our administration-pages, so that our supporters can get a quick idea about the card that a customer used to place an order, instead of having to scan strings.
In other words, I would need to render the card with prefilled values, containing only of the first 4 digits in the card and the cardholders name. There should be no interactive input elements.
This is an excellent question; at the moment, there's no specific way -- but what you could do is pre-fill the card, and then write a custom event handler to go through and mark all the inputs as readonly
! I'll give that some thought tomorrow -- it's currently 1:47A here, and I require sleeps.
Ken, did you ever have a chance to take a look at this? I've tried and the problem I had was that I only have the 4 last digits remaining when trying to display the card, which of course confuses the code a lot.
What I would want to do is show the credit card to the user after it was saved.
:+1: on this. We want to use as readonly.