Fairoj : Validation removal in templates

This commit is contained in:
venbatechnologies@gmail.com 2021-01-29 20:09:26 +05:30
parent 5656f6bbd4
commit 10f664e22b
2 changed files with 747 additions and 927 deletions

File diff suppressed because it is too large Load Diff

View File

@ -22,13 +22,6 @@
"is_repeatable": null, "is_repeatable": null,
"field_type": "string", "field_type": "string",
"validations": [ "validations": [
{
"name": "required",
"isactive": "1",
"validator": "Validators.required",
"message": "Required",
"value": null
}
] ]
}, },
{ {
@ -41,13 +34,6 @@
"onchange_properties": null, "onchange_properties": null,
"is_repeatable": null, "is_repeatable": null,
"validations": [ "validations": [
{
"name": "required",
"isactive": "1",
"validator": "Validators.required",
"message": "Field Required",
"value": null
}
] ]
}, },
{ {
@ -55,35 +41,36 @@
"question_key": "account_type", "question_key": "account_type",
"type": "3", "type": "3",
"field_width": "45", "field_width": "45",
"api_properties":null, "api_properties": null,
"answers": [ "answers": [
{ {
"answer":"Savings", "answer": "Savings",
"answer_id":"Savings" "answer_id": "Savings"
}, },
{ {
"answer":"OD", "answer": "OD",
"answer_id":"OD" "answer_id": "OD"
}, },
{ {
"answer":"Current", "answer": "Current",
"answer_id":"Current" "answer_id": "Current"
}, },
{ {
"answer":"CC", "answer": "CC",
"answer_id":"CC" "answer_id": "CC"
} }
], ],
"onchange_properties": [ "onchange_properties": [
{ {
"purpose":"FORM_CTRL", "purpose": "FORM_CTRL",
"form_controls":[{ "form_controls": [
"insert_index":"account_type", {
"expression":"(String('account_type').toLowerCase() != String('savings') && String('account_type').toLowerCase() != String('current'))", "insert_index": "account_type",
"value_keys":[ "expression": "(String('account_type').toLowerCase() != String('savings') && String('account_type').toLowerCase() != String('current'))",
"value_keys": [
"account_type" "account_type"
], ],
"questions":[ "questions": [
{ {
"question": "OD/CC Limit", "question": "OD/CC Limit",
"question_key": "cc_limit", "question_key": "cc_limit",
@ -95,49 +82,36 @@
"onchange_properties": null, "onchange_properties": null,
"is_repeatable": null, "is_repeatable": null,
"validations": [ "validations": [
{
"name": "required", ]
"isactive": "1",
"validator": "Validators.required",
"message": "Field Required",
"value": null
} }
] ]
} }
] ]
}]
} }
], ],
"is_repeatable": null, "is_repeatable": null,
"validations": [ "validations": [
{
"name": "required",
"isactive": "1",
"validator": "Validators.required",
"message": "Field Required",
"value": null
}
] ]
} }
], ],
"is_repeatable": "1", "is_repeatable": "1",
"group_title": "Banking Details", "group_title": "Banking Details",
"group_key": "banking_details" "group_key": "banking_details"
}, },
{ {
"question_key":"common_remarks", "question_key": "common_remarks",
"question":"Remarks", "question": "Remarks",
"place_holder":"Enter the text", "place_holder": "Enter the text",
"type":"7", "type": "7",
"api_properties":null, "api_properties": null,
"answers":null, "answers": null,
"onchange_properties":null, "onchange_properties": null,
"is_repeatable":null, "is_repeatable": null,
"field_type":"string", "field_type": "string",
"field_width":"45", "field_width": "45",
"validations":[ "validations": []
]
} }
] ]
} }