Page 1 of 1

Field to retrieve value from Web Service

Posted: 2016-05-11 21:15
by simplyepos
Is it possible to use appgini to have a text field value send to a web service and retrieve a response. I don't know where I need to be adding the code to submit to the web service as I need to complete this whilst the user is still completing data entry.

i.e. I am looking for the user to input a contract ID so I can return a company ID via web service. I'm using appgini 5.50

Re: Field to retrieve value from Web Service

Posted: 2016-05-20 21:56
by shasta59
Yes you can but you will have to do it using javascript, for example. When the user inputs the contract ID, therefore the field has changed, the javascript can then run what it needs to do to get the data.

Sorry do not have time right now to think about the code to do this. Should not be too hard to do.

Alan

Re: Field to retrieve value from Web Service

Posted: 2016-05-20 23:32
by grimblefritz
I'd recommend taking the course on Udemy. It doesn't cover exactly this, but it does show ajax coding and this would be close to it.