Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Try to use
FormUtil.getField("textField1").val("aaa");
instead of the original code that you have.
Then, follow up with.
FormUtil.getField("textField1").trigger("change");
So that the cascading code will trigger.
It worked! Thank you so much
Greetings all,
Ajax Cascade option (Dynamic Cascading Drop-Down List) unable to retrive the value holds inside a text field where the value of the text field is being set by Javascript (Javascript API).
For example:
<script>
$('#textField1').val('I want to retreive this');
</script>
Field Id to Control Available Options Based on Grouping: textField1
I'm using List selection (JDBC) for this AJAX calling where ( ? ) doesn't retrieve anything from textField1.
Both works fine individually but not working when intergrated togather.
Any help will be much appreciated.