How to auto load client data after selecting it in a dropdown?

Maycon Parreira Jardim - 15 Oct, 2025

Hey everyone 

I’m building a form called Pesquisa (Survey), and it has a Select Box where I choose a client from another form/table called Cadastrar Cliente (Register Client).

After selecting the client, I want to automatically display some info from that client record — for example:

c_cnpj → Client CNPJ

c_razao_social → Company Name (Razão Social)

Basically, I want to load data from app_fd_cadastrarCliente into my Pesquisa form when the user selects a client.

I tried using a Database Wizard Load Binder in another Section, with a filter like:

id = #form.cliente#

But nothing loads when I pick a client in the dropdown.

Do I need to use a Subform to do this?
Or is there a simpler way to auto-load related data when a Select Box changes?

Any example or tip would be super helpful, DX9

forms

2


17 Oct, 2025 •
jogethabibi •
0 •
mayconpjardim •

Hi

This can be achived by using Ajax SubForm (https://kb.joget.org/jw/web/userview/jdocs/docs/DX8/ajax-subform)

Where you select a  client from the dropdown and the ajax subform will refresh and load the respective client details.

Hope this helps.

HJ

17 Oct, 2025 •
mayconpjardim •
0 •
mayconpjardim •

Thanks so much for your help! 

The Ajax SubForm worked perfectly

I’m really enjoying learning Joget so far, it’s super flexible and fun to use!

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print