Content Item field validation best practice #13642
Unanswered
lbertonicsc
asked this question in
Q&A
Replies: 2 comments 1 reply
-
What you did is fine, but sometimes we do a validation on the |
Beta Was this translation helpful? Give feedback.
1 reply
-
1cent - Use ViewModel instead of Part/Field - this way you can avoid untrusted updates (over posting) to ModelBinding |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Good morning,
I am currently validating the values of fields during the creation of a Content Item by using a Driver.
The example code is:
Is this the proper way or is there a better way to do it?
Related discussion: #8963
Beta Was this translation helpful? Give feedback.
All reactions