|[EMF Forms] Implement check on data input [message #1743792]
||Mon, 19 September 2016 16:06
| Andrea Genovese
Registered: August 2016
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?
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.07284 seconds