Form validations settings missing after upgrade #536
-
Describe the bug or issue you're experiencing It would be great if you can advise what's the best approach to fix it (ideally without rolling back to the previous version and upgrade again). Steps to reproduce
Expected behavior Craft & Plugin Info (please complete the following information):
Additional context |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @wei2go, We will investigate as to why this would have happened in your case, but meanwhile, the quickest fix without rolling anything back, would be to add default data to the {
"composer": {
"layout": [...],
"properties": {
"page0": {...},
"form": {...},
--->
"validation": {
"type": "validation",
"validationType": "submit",
"successMessage": "",
"errorMessage": ""
},
--->
...
}
},
...
} Here's a quick example of how the default values would look and where to put them. |
Beta Was this translation helpful? Give feedback.
Hi @wei2go,
We will investigate as to why this would have happened in your case, but meanwhile, the quickest fix without rolling anything back, would be to add default data to the
validation
entry in thelayoutJson
column in all the forms where it is missing.Here's a quick example of how the default values would look and where to put them.