|
@ -96,12 +96,26 @@ class StepTwoNiveshFDFragment : Fragment() { |
|
|
listOfPayMode = ArrayList() |
|
|
listOfPayMode = ArrayList() |
|
|
stateObject = DataObject() |
|
|
stateObject = DataObject() |
|
|
rbPaymentMode = RadioButton(activity as NiveshFdMainActivity) |
|
|
rbPaymentMode = RadioButton(activity as NiveshFdMainActivity) |
|
|
|
|
|
|
|
|
// Personal Details |
|
|
// Personal Details |
|
|
binding.edtMobileNumber.filters = arrayOf<InputFilter>(LengthFilter(10)) |
|
|
binding.edtMobileNumber.filters = arrayOf<InputFilter>(LengthFilter(10)) |
|
|
binding.edtPANNumber.filters = arrayOf<InputFilter>(LengthFilter(10)) |
|
|
binding.edtPANNumber.filters = arrayOf<InputFilter>(LengthFilter(10)) |
|
|
binding.edtPinCode.filters = arrayOf<InputFilter>(LengthFilter(6)) |
|
|
binding.edtPinCode.filters = arrayOf<InputFilter>(LengthFilter(6)) |
|
|
binding.edtIFSC.filters = arrayOf<InputFilter>(LengthFilter(11)) |
|
|
binding.edtIFSC.filters = arrayOf<InputFilter>(LengthFilter(11)) |
|
|
|
|
|
//first name -25 // middle name -25 // last name -25 |
|
|
|
|
|
binding.edtFirstName.filters = arrayOf<InputFilter>(LengthFilter(25)) |
|
|
|
|
|
binding.edtMiddleName.filters = arrayOf<InputFilter>(LengthFilter(25)) |
|
|
|
|
|
binding.edtLastName.filters = arrayOf<InputFilter>(LengthFilter(25)) |
|
|
|
|
|
//nominee name -35 |
|
|
|
|
|
binding.edtNomineeFirstName.filters = arrayOf<InputFilter>(LengthFilter(35)) |
|
|
|
|
|
binding.edtNomineeMiddleName.filters = arrayOf<InputFilter>(LengthFilter(35)) |
|
|
|
|
|
binding.edtNomineeLastName.filters = arrayOf<InputFilter>(LengthFilter(35)) |
|
|
|
|
|
//guardian name |
|
|
|
|
|
binding.edtGuardianName.filters = arrayOf<InputFilter>(LengthFilter(70)) |
|
|
|
|
|
//guardian Address |
|
|
|
|
|
binding.edtGuardianAddress.filters = arrayOf<InputFilter>(LengthFilter(50)) |
|
|
|
|
|
//bank Account number |
|
|
|
|
|
binding.edtAccountNumber.filters = arrayOf<InputFilter>(LengthFilter(18)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
binding.edtMobileNumber.addTextChangedListener(object : TextWatcher { |
|
|
binding.edtMobileNumber.addTextChangedListener(object : TextWatcher { |
|
|
|
|
|
|
|
|