Skip to main content
Participant
February 10, 2015
Answered

Field Verification for Credit Cards...

  • February 10, 2015
  • 1 reply
  • 3702 views

Hi all,

Wondering if anybody has created a formula to verify data entered into a field is a valid credit card number?  We send out a credit card authorization form via EchoSign, and this would be handy

Thanks in advance for the help!

Blue

This topic has been closed for replies.
Correct answer Rijul Raj Khurana

Hi Blue,

Here is the link for documentation for Credit Card Fields:

http://helpx.adobe.com/echosign/kb/echosign-credit-card-fields.html

Let me know if that helps.


Regards,

-Rijul

1 reply

Rijul Raj KhuranaCorrect answer
Inspiring
February 11, 2015

Hi Blue,

Here is the link for documentation for Credit Card Fields:

http://helpx.adobe.com/echosign/kb/echosign-credit-card-fields.html

Let me know if that helps.


Regards,

-Rijul

Legend
February 11, 2015

Hi Blue,

you can use a regular expression to ensure the number entered into a field is an actual cc number.

I'll paste this in the form of a test tag:

{{#029=*PCCNum_es_:signer1:custom(regexp=”^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$”,msg=”Not a valid card number entered”):mask}}

keep the opening and lcosing brackets and all in between on a single line,

The tag includes a custom validation using a regular expression which will only accept valid credit card numbers for the major credit cards. (1234 1234 1234 1234, will not be accepted).

The msg part is optional and can be customized.

:mask masks the entry as if it were a password field.

Participant
February 11, 2015

Hi SimonATS...

I'm sorry to be dense... but how do I enter that in a templated document

Blue