validate an input field in SAP Build Apps.

Hi SAP Community,

I’m currently working on something that involves creating payment options in SAP Build Apps. For the credit card option, I need to ensure that users enter a 12-digit card number. I am looking for a formula that can validate this input field whenever the app is previewed.

Specifically, if the user does not enter a 12-digit number, an alert should be raised with the message: “Please enter a 12-digit number.”

I would greatly appreciate any guidance or examples of formulas that can achieve this validation. Thank you in advance for your support!

Best regards, 

Yashmin Behera

 

 

@Dan_Wroblewski 

@kleventcov 

 

Scroll to Top