[EMF Forms] Implement check on data input [message #1743792] |
Mon, 19 September 2016 16:06 |
Andrea Genovese Messages: 6 Registered: August 2016 |
Junior Member |
|
|
Hello everyone,
I'm learning to use EMF and EMF Forms, I've created my model and generated all the views.
What I want to do now is implement some checks on certain forms, for example: if the telephone number is higher than X characters, deny the input and show an error message, or, considering a class that has two references towards a certain other class, if those two references are the same, deny the input and show an error message.
Were should I start/look in order to achieve this?
Best regards.
Edit: I forgot to mention that I already tried to do this by inserting an if statement in the ClassImpl of the model plugin, but this way, it won't allow me to create an instance.
[Updated on: Mon, 19 September 2016 17:42] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03433 seconds