cancel
Showing results for 
Search instead for 
Did you mean: 

How to Use format Rule in mobile development kit

0 Kudos

Hi Everyone,

Can we use format rule for checking the format on form page field ?

If anyone enter dot(.) then it should not save.

Anyone can tell me How can we use format rule in mdk.

Thanks

neha

Accepted Solutions (1)

Accepted Solutions (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert

FormatRule is mainly for formatting the control's value, for example, if you enter value abcd for a simple property control, you can have a rule to format this value to ABCD (toUpperCase).

If you want to do validation before saving the inputs, you can use ValidationRule property of the OData action.

Example: https://developers.sap.com/tutorials/cp-mobile-dev-kit-add-validation.html

0 Kudos

Thanx this is very helpful...

Answers (0)