Displaying forms through Select with Jquery

Asked

Viewed 26 times

0

I have a select field for the user to choose which form to register the data! ( 2 forms to be displayed). When selecting the first option in select, I am using Jquery Hide() and show() to display the chosen forms.

Forms have a select field that returns BD data for the user to choose the option!

Since the two forms are the same, I would like to return two database queries in the same form when the user changes the option in select! Note: I am developing this form in PHP Mysql!

inserir a descrição da imagem aqui

  • @Matthew! Yes I’ve created something that returns the database query! And I don’t want anyone to make the code! I’m just asking for help! Now if it’s to criticize DON’T help please!

  • 1

    You can add to your question the source code you are using to improve our understanding.

  • When you choose an option, you want to perform two queries?

  • 1

    @André Filipe, when selecting form 1 in select you will make a query, and when selecting form 2 you will make another query! I will edit the question and put an excerpt of the code to facilitate the understanding of vcs!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.