Can somebody please assist me with the following. In Zendesk they have a field type called credit card. When you add this field to a custom form and the form is submitted it masks the first twelve digits on the ticket that is created.For example I called the field credit card and when the ticket is created the field will look like this xxxxxxxxxxx1234. I would like to know were the coding in the background is saved that makes this.I would like to be able to use and edit this code for example with SSN in the helpcentre. I believe this is also possible to do by using regex coding in a custom field.
The code below will display the SSN but no digits will be masked when submitted through the heklpcentere.
Can anyone please assist with both options and provide the code for a regex custom field that will mask the numbers when submitted or a code to to replicate what the credit card field does?
Thank you in advance.
Please sign in to leave a comment.