fill a field after a selection

fill a field after a selection

rrzavaletarrzavaleta Posts: 78Questions: 52Answers: 2

Hi, I am using the example

https://editor.datatables.net/examples/api/dependentFields.html

and I need that selecting an option from the field .select "Simple" or " All" fill another field named " Result" with these values. That is if I select "Simple" send this value to another field and if I select "All" send this value to another field.

Answers

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin

    The dependent() method has the ability to set field values using the values option in the object returned. See the dependent() documentation for details and examples.

    Allan

This discussion has been closed.