In this step, I will explain how to build a FormFlow for checking your current account balance. After the savings account balance logic, append the following code for the current account logic:
//Current Account Balance Template
public Currentbalance Current_Balance;
.Field("Current_Balance.AccountNumber",
isCurrentBalance, validate: async (state,
response) =>
{
var result = new ValidateResult {
IsValid = true, Value = response };
string accountnumber = (response as
string);
int accountnumberlength =
accountnumber.Length;
...