This topic is locked

Hide form and show another one from a dropdown

10/12/2010 9:33:18 AM
PHPRunner General questions
K
karmacomposer author

It does not matter what way to choose, but my client has requested that, based on the choice, one form is shown or another one is shown.
I have a choice. I can either append all the fields of one table onto another ahead of time so that only one table exists instead of two - and then hide the fields based on choice - but the amount of fields to hide is pretty extensive.
Or, I can simply show one form, and then if a choice is made through a dropdown, radio or even buttons, then show another form - is that possible? If so, how?
Mike

Sergey Kornilov admin 10/12/2010

If these two forms are built based on different tables I would simply add a link to the first form that points to the second one (and vice versa).