skeuocard icon indicating copy to clipboard operation
skeuocard copied to clipboard

Display-only?

Open dipth opened this issue 11 years ago • 3 comments

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.

dipth avatar Sep 10 '13 12:09 dipth

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.

kenkeiter avatar Sep 11 '13 08:09 kenkeiter

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.

SaschaKonietzke avatar Nov 19 '13 17:11 SaschaKonietzke

:+1: on this. We want to use as readonly.

nodesocket avatar Mar 28 '14 00:03 nodesocket