Fairoj : Validation removal in templates
This commit is contained in:
parent
5656f6bbd4
commit
10f664e22b
File diff suppressed because it is too large
Load Diff
@ -1,143 +1,117 @@
|
|||||||
{
|
{
|
||||||
"section_id": "9",
|
"section_id": "9",
|
||||||
"section_name": "Business and Personal Banking Details",
|
"section_name": "Business and Personal Banking Details",
|
||||||
"onsubmit": [],
|
"onsubmit": [],
|
||||||
"questions": [
|
"questions": [
|
||||||
{
|
{
|
||||||
"question": [
|
"question": [
|
||||||
{
|
{
|
||||||
"question": "Account holder name",
|
"question": "Account holder name",
|
||||||
"question_key": "applicant_name",
|
"question_key": "applicant_name",
|
||||||
"type": "1",
|
"type": "1",
|
||||||
"api_properties": {
|
"api_properties": {
|
||||||
"purpose": "answer_options_local",
|
"purpose": "answer_options_local",
|
||||||
"master_name": "pd_applicants",
|
"master_name": "pd_applicants",
|
||||||
"fields": [
|
"fields": [
|
||||||
"pd_co_applicant_id",
|
"pd_co_applicant_id",
|
||||||
"applicant_name"
|
"applicant_name"
|
||||||
]
|
]
|
||||||
},
|
|
||||||
"answers": null,
|
|
||||||
"onchange_properties": null,
|
|
||||||
"is_repeatable": null,
|
|
||||||
"field_type": "string",
|
|
||||||
"validations": [
|
|
||||||
{
|
|
||||||
"name": "required",
|
|
||||||
"isactive": "1",
|
|
||||||
"validator": "Validators.required",
|
|
||||||
"message": "Required",
|
|
||||||
"value": null
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"question": "Bank Name",
|
|
||||||
"question_key": "bank_name",
|
|
||||||
"type": "1",
|
|
||||||
"field_width": "45",
|
|
||||||
"api_properties": null,
|
|
||||||
"answers": null,
|
|
||||||
"onchange_properties": null,
|
|
||||||
"is_repeatable": null,
|
|
||||||
"validations": [
|
|
||||||
{
|
|
||||||
"name": "required",
|
|
||||||
"isactive": "1",
|
|
||||||
"validator": "Validators.required",
|
|
||||||
"message": "Field Required",
|
|
||||||
"value": null
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"question": "Account type",
|
|
||||||
"question_key": "account_type",
|
|
||||||
"type": "3",
|
|
||||||
"field_width": "45",
|
|
||||||
"api_properties":null,
|
|
||||||
"answers": [
|
|
||||||
{
|
|
||||||
"answer":"Savings",
|
|
||||||
"answer_id":"Savings"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"answer":"OD",
|
|
||||||
"answer_id":"OD"
|
|
||||||
},
|
},
|
||||||
{
|
"answers": null,
|
||||||
"answer":"Current",
|
"onchange_properties": null,
|
||||||
"answer_id":"Current"
|
"is_repeatable": null,
|
||||||
},
|
"field_type": "string",
|
||||||
{
|
"validations": [
|
||||||
"answer":"CC",
|
]
|
||||||
"answer_id":"CC"
|
},
|
||||||
}
|
{
|
||||||
],
|
"question": "Bank Name",
|
||||||
"onchange_properties": [
|
"question_key": "bank_name",
|
||||||
{
|
"type": "1",
|
||||||
"purpose":"FORM_CTRL",
|
"field_width": "45",
|
||||||
"form_controls":[{
|
"api_properties": null,
|
||||||
"insert_index":"account_type",
|
"answers": null,
|
||||||
"expression":"(String('account_type').toLowerCase() != String('savings') && String('account_type').toLowerCase() != String('current'))",
|
"onchange_properties": null,
|
||||||
"value_keys":[
|
"is_repeatable": null,
|
||||||
"account_type"
|
"validations": [
|
||||||
],
|
]
|
||||||
"questions":[
|
},
|
||||||
|
{
|
||||||
|
"question": "Account type",
|
||||||
|
"question_key": "account_type",
|
||||||
|
"type": "3",
|
||||||
|
"field_width": "45",
|
||||||
|
"api_properties": null,
|
||||||
|
"answers": [
|
||||||
|
{
|
||||||
|
"answer": "Savings",
|
||||||
|
"answer_id": "Savings"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"answer": "OD",
|
||||||
|
"answer_id": "OD"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"answer": "Current",
|
||||||
|
"answer_id": "Current"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"answer": "CC",
|
||||||
|
"answer_id": "CC"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"onchange_properties": [
|
||||||
|
{
|
||||||
|
"purpose": "FORM_CTRL",
|
||||||
|
"form_controls": [
|
||||||
{
|
{
|
||||||
"question": "OD/CC Limit",
|
"insert_index": "account_type",
|
||||||
"question_key": "cc_limit",
|
"expression": "(String('account_type').toLowerCase() != String('savings') && String('account_type').toLowerCase() != String('current'))",
|
||||||
"type": "1",
|
"value_keys": [
|
||||||
"field_width": "45",
|
"account_type"
|
||||||
"field_type": "num",
|
],
|
||||||
"api_properties": null,
|
"questions": [
|
||||||
"answers": null,
|
|
||||||
"onchange_properties": null,
|
|
||||||
"is_repeatable": null,
|
|
||||||
"validations": [
|
|
||||||
{
|
{
|
||||||
"name": "required",
|
"question": "OD/CC Limit",
|
||||||
"isactive": "1",
|
"question_key": "cc_limit",
|
||||||
"validator": "Validators.required",
|
"type": "1",
|
||||||
"message": "Field Required",
|
"field_width": "45",
|
||||||
"value": null
|
"field_type": "num",
|
||||||
|
"api_properties": null,
|
||||||
|
"answers": null,
|
||||||
|
"onchange_properties": null,
|
||||||
|
"is_repeatable": null,
|
||||||
|
"validations": [
|
||||||
|
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}]
|
}
|
||||||
}
|
],
|
||||||
],
|
"is_repeatable": null,
|
||||||
"is_repeatable": null,
|
"validations": [
|
||||||
"validations": [
|
|
||||||
{
|
]
|
||||||
"name": "required",
|
}
|
||||||
"isactive": "1",
|
],
|
||||||
"validator": "Validators.required",
|
"is_repeatable": "1",
|
||||||
"message": "Field Required",
|
"group_title": "Banking Details",
|
||||||
"value": null
|
"group_key": "banking_details"
|
||||||
}
|
},
|
||||||
]
|
{
|
||||||
}
|
"question_key": "common_remarks",
|
||||||
|
"question": "Remarks",
|
||||||
],
|
"place_holder": "Enter the text",
|
||||||
"is_repeatable": "1",
|
"type": "7",
|
||||||
"group_title": "Banking Details",
|
"api_properties": null,
|
||||||
"group_key": "banking_details"
|
"answers": null,
|
||||||
},
|
"onchange_properties": null,
|
||||||
{
|
"is_repeatable": null,
|
||||||
"question_key":"common_remarks",
|
"field_type": "string",
|
||||||
"question":"Remarks",
|
"field_width": "45",
|
||||||
"place_holder":"Enter the text",
|
"validations": []
|
||||||
"type":"7",
|
}
|
||||||
"api_properties":null,
|
]
|
||||||
"answers":null,
|
|
||||||
"onchange_properties":null,
|
|
||||||
"is_repeatable":null,
|
|
||||||
"field_type":"string",
|
|
||||||
"field_width":"45",
|
|
||||||
"validations":[
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user