I am doing a project Adding, Update, Deleting Customer…
ive already done all the queries but my problem is How can i manipulate the message widget to display Client already Exist or client successfully added…
i’ve already filter the adding using the groovy Script… but i want to display a message on the message widget.
i need some help:)
thank you:)
best regards’
Jaylongkit
ive already done all the queries but my problem is How can i manipulate the message widget to display Client already Exist or client successfully added…
i’ve already filter the adding using the groovy Script… but i want to display a message on the message widget.
While I understand what you want to do, how do you want it to work?
In my thinking it is something like,
Tab to id field, enter id, tab to name field, fill in name field etc.
What you want is when leaving id field, the system determines if I’d is already used and then change the message box to “already in use”…
You would have to do something like this,
Add JavaScript/jquery to the field id with onchange/onexit event,
In the script have code that interrogates the database for id and determine if the id exists or not. You would have to use Ajax to do this. Possible you could run a rest process to do it instead, then based on result set the message box via the JavaScript.
Your Ajax would have to call a web service (I used Java) to do the interrogation.
This is not out the box and you’ll have to do it yourself.
I’ve done something similar but not this specifically.
Hope that helps,
Regards
Seán