I'm using drop-down tag but I want to update another fields after selected an option in this. I'm using it in Forms. I know we can using ajax to submit and update but in ftl, I can't find which attribute of field or drop-down can help ?
Thanks!
I'm using drop-down tag but I want to update another fields after selected an option in this. I'm using it in Forms. I know we can using ajax to submit and update but in ftl, I can't find which attribute of field or drop-down can help ?
Thanks!
I found a way to resolve this problem. We will use js to post, send a request and get data with json format. Example:
Controller.xml :
json request in common-controller.xml: