example "dependent ()" ?????

example "dependent ()" ?????

RafaelGarciaRafaelGarcia Posts: 20Questions: 1Answers: 0

where I can get a complete example of using the "dependent ()". intereza me a lot.

javascript and PHP

thank you for your help

Replies

  • allanallan Posts: 61,822Questions: 1Answers: 10,127 Site admin

    There is a live example here (apologies for the text at the top of the example - it is incorrect and will be fixed with the next release).

    There are also a number of examples on the dependent() documentation page at the bottom.

    Allan

  • RafaelGarciaRafaelGarcia Posts: 20Questions: 1Answers: 0

    very good !!!
    thank you for your help

  • RafaelGarciaRafaelGarcia Posts: 20Questions: 1Answers: 0

    some example with ajax and php ??
    I'm interested in php server and as a weapon json
    thank you for your help

  • allanallan Posts: 61,822Questions: 1Answers: 10,127 Site admin

    The PHP part is simply a case of querying the database to get the values you want based on the information in your form. It is highly dependent upon your exact configuration, but really all you need to do is query the database and return JSON in the form described on the dependent() page.

    Allan

This discussion has been closed.