Expand my Community achievements bar.

Dynamic Validate the TextField with DB

Avatar

Level 2

Hello All,

When user fills in a User_ID in the text box and I want to validate it with the User DB whether the user_id is present or not in DB.

TO do so:

I do not want to use Data Connection as the form will be not store on one machine

Is there a way to do this?

For eg

AJAX, PHP, or something like that....where I can connect to DB from the form itself.

Thanks

Viral

2 Replies

Avatar

Former Community Member

You could consider a Web Service that returns a boolean indicating the validity of the user ID. There is plenty of doc and samples available on the Internet for building a PHP Web Service client.

Steve

Avatar

Level 2

Hey Steve,

Thanks for prompt response.

Can you please provide some resources or example for Web Services (WS) )as I m  new to WS?

I looked on web however was difficult to find a basic tutorial.

Thanks

Viral