---
title: "GIFTCARDLENGTH"
canonical: "https://kb.myframeworks.com.au/space/FSS/204800020/GIFTCARDLENGTH"
format: markdown
---
**Setting Purpose:** Gift Card Number Length

The **GIFTCARDLENGTH** code controls the valid Internal gift card number length for card validation during registration and the sale processes.

- In the **Value** field, enter the required card number length. For example, **16** for sixteen-digit cards.

Frameworks validates all card numbers against this length and produces the error message "Invalid Gift Card Number" when validation fails.