PHP Classes

Form Listview with dependent field: I need to create a form using dependent listboxes

Recommend this page to a friend!
  All requests RSS feed  >  Form Listview with dependent field  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Form Listview with dependent field

Edit

Picture of Michael Krötlinger by Michael Krötlinger - 8 years ago (2015-08-22)

I need to create a form using dependent listboxes

This request is clear and relevant.
This request is not clear or is not relevant.

+5

The content of listboxes is dependent on the item the user chose previously.

Ask clarification

1 Recommendation

PHP Forms Class with HTML Generator and JavaScript Validation: HTML forms generation and validation.

This recommendation solves the problem.
This recommendation does not solve the problem.

+3

Picture of Manuel Lemos by Manuel Lemos package author package author Reputation 23325 - 8 years ago (2015-08-22) Comment

This general purpose forms class comes with a plugin named linked select that lets you define select list boxes with groups of values that are switched depending on the value of the previous list box.

You can chain as many list boxes as you want or even start with a different type of input like a text box.

Here is an example of linked select form script.

There are also variants of this plugin that take the options dynamically from databases. Take a look at the test_mysql_linked_select.php or the test_metabase_linked_select.php example scripts.


Recommend package
: 
: