Updated response of form template

This commit is contained in:
rajesh
2024-08-30 18:41:40 +05:30
parent 7af37db2ff
commit 18c40eaf03
13 changed files with 213 additions and 13 deletions

View File

@@ -505,5 +505,13 @@
</column>
</addColumn>
</changeSet>
<changeSet id="30-08-2024_1" author="Rajesh Khore">
<sqlFile dbms="postgresql"
path="db/dump/inserted_form_field_data_30_08_2024.sql" />
<sql dbms="postgresql">select
setval('gepafin_schema.form_field_id_seq', (select
max(id)+1
from gepafin_schema.form_field), false)
</sql>
</changeSet>
</databaseChangeLog>

View File

@@ -0,0 +1,128 @@
INSERT INTO FORM_FIELD (NAME, LABEL, SETTINGS, VALIDATORS, CREATED_DATE, UPDATED_DATE)
VALUES (
'textinput',
'Text Input',
'[
{
"name": "label",
"value": "Text input"
},
{
"name": "placeholder",
"value": "Placeholder text"
}
]',
'{
"isRequired": false,
"minLength": null,
"maxLength": null,
"pattern": null,
"custom": null
}',
'2024-08-30T09:50:31.926Z',
'2024-08-30T09:50:31.926Z'
);
INSERT INTO FORM_FIELD (NAME, LABEL, SETTINGS, VALIDATORS, CREATED_DATE, UPDATED_DATE)
VALUES
( 'textarea',
'Text Area',
'[
{
"name": "label",
"value": "Text area"
},
{
"name": "placeholder",
"value": "Placeholder text"
}
]',
'{
"isRequired": false,
"minLength": null,
"maxLength": null,
"pattern": null,
"custom": null
}',
'2024-08-30T09:50:31.926Z',
'2024-08-30T09:50:31.926Z'
);
INSERT INTO FORM_FIELD ( NAME, LABEL, SETTINGS, VALIDATORS, CREATED_DATE, UPDATED_DATE)
VALUES
( 'textinput',
'Number Input',
'[
{
"name": "label",
"value": "Number"
},
{
"name": "placeholder",
"value": ""
}
]',
'{
"isRequired": false,
"min": null,
"max": null,
"pattern": null,
"custom": null
}',
'2024-08-30T09:50:31.926Z',
'2024-08-30T09:50:31.926Z'
);
INSERT INTO FORM_FIELD (NAME, LABEL, SETTINGS, VALIDATORS, CREATED_DATE, UPDATED_DATE)
VALUES
( 'textinput',
'P.IVA',
'[
{
"name": "label",
"value": "P.IVA"
},
{
"name": "placeholder",
"value": "Insert p.iva number"
}
]',
'{
"isRequired": true,
"minLength": null,
"maxLength": null,
"pattern": null,
"custom": "isValidVAT"
}',
'2024-08-30T09:50:31.926Z',
'2024-08-30T09:50:31.926Z'
);
INSERT INTO FORM_FIELD (NAME, LABEL, SETTINGS, VALIDATORS, CREATED_DATE, UPDATED_DATE)
VALUES
( 'radio',
'Radio Input',
'[
{
"name": "label",
"value": "Radio input"
},
{
"name": "options",
"value": [
{
"name": "opt1",
"label": "Opt1"
}
]
}
]',
'{
"isRequired": false,
"min": null,
"max": null,
"custom": null
}',
'2024-08-30T09:50:31.926Z',
'2024-08-30T09:50:31.926Z'
);

View File

@@ -74,7 +74,7 @@ form.created.successfully=Form created successfully.
form.updated.suucessfully=Form updated successfully.
form.deleted.successfully=Form deleted successfully.
form.fetched.successfully=Form fetched successfully.
required.parameter.not.found.for.form=Label, content, or orderNo cannot be null.
required.parameter.not.found.for.form=Label or content cannot be null.
form.not.found.for.call.id=Form not found for corresponding call.
#EvaluationCriteria-related messages
evaluation.criteria.not.found=EvaluationCriteria not found.

View File

@@ -74,7 +74,7 @@ form.created.successfully=Modulo creato correttamente.
form.updated.suucessfully=Modulo aggiornato correttamente.
form.deleted.successfully=Modulo eliminato correttamente.
form.fetched.successfully=Modulo recuperato correttamente.
required.parameter.not.found.for.form=Etichetta, contenuto o orderNo non possono essere nulli.
required.parameter.not.found.for.form=L'etichetta o il contenuto non possono essere nulli.
form.not.found.for.call.id=Modulo non trovato per la chiamata corrispondente.
#Form-field-related messages