teddythinh
Aarktype
•Created by teddythinh on 3/16/2025 in #questions
How to set a custom message with object type?
Thank you guys @TizzySaurus @ssalbdivad for helping me ❤️
43 replies
Aarktype
•Created by teddythinh on 3/16/2025 in #questions
How to set a custom message with object type?

43 replies
Aarktype
•Created by thibault on 3/17/2025 in #questions
How to set an error message
Hi bro @thibault, I think you can change with
3<string.trim.preformatted<255
. Arktype automatically return the error for you.4 replies
Aarktype
•Created by teddythinh on 3/16/2025 in #questions
How to set a custom message with object type?

43 replies
Aarktype
•Created by teddythinh on 3/16/2025 in #questions
How to set a custom message with object type?
Hi @TizzySaurus, I manage to remove the key name by changing
problem
to message
with @ssalbdivad's solution here:
43 replies
Aarktype
•Created by teddythinh on 3/16/2025 in #questions
How to set a custom message with object type?

43 replies
Aarktype
•Created by teddythinh on 3/16/2025 in #questions
How to set a custom message with object type?
Thanks guys. Let me try it and get back to you. ❤️
43 replies
Aarktype
•Created by teddythinh on 3/16/2025 in #questions
How to set a custom message with object type?
Sure, take your time, no need to rush. I appreciate @TizzySaurus ❤️
43 replies
Aarktype
•Created by teddythinh on 3/16/2025 in #questions
How to set a custom message with object type?
Hi @TizzySaurus , so is there any solution for this one?
43 replies
Aarktype
•Created by teddythinh on 3/16/2025 in #questions
How to set a custom message with object type?
I haven't tried anything yet 😂 I don't know what the solution can be used here haha
43 replies
Aarktype
•Created by teddythinh on 3/16/2025 in #questions
How to set a custom message with object type?

43 replies
Aarktype
•Created by teddythinh on 3/16/2025 in #questions
How to set a custom message with object type?
I have tried this one, it's only check the first condition, not sure if it's best practice:
43 replies
Aarktype
•Created by teddythinh on 3/16/2025 in #questions
How to set a custom message with object type?
Hmmm I have tried to use
ctx.actual
but it cannot be used with operations like > or <43 replies
Aarktype
•Created by teddythinh on 3/16/2025 in #questions
How to set a custom message with object type?
Thanks for your explanation. I have managed to make it work now. Also, can the value message be separated with constraints? For example, if the value = 2, I would have a different message, and if the value >= 50, it would be another message.
43 replies