How can a date field change update another field
How can a date field change update another field
Hi,
How can I reload/update a modal field when I change a date field in the same modal, client-side. When I change a date field, I want another field to display the corresponding currency rate for that day. The users can still change the currency rate after this, so it's like a starting value or suggestion. How can I get this to work?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Sounds like a good use for the
dependent()
method. It is basically an event handler that will be triggered when your date field changes value and you can then instruct it to update other field values (via Ajax or a local function depending on where your data is).Allan
That's what I suspected, that or a on change event. Thanks a bunch.