withdrawal, the withdrawal relevant fields will be shown.
deposit, similar the deposit relevant fields will be shown.
Is it possible to do the above in template?
I have read up on https://docs.nodebb.org/en/latest/themes/templates.html and https://github.com/psychobunny/templates.js but I cannot find similar example on it.
Please advise, thanks.
This is something you would use client-side js/jQuery to accomplish and not templates.
Another way is to use a parameter and fefresh the page so the template can apply the conditional logic based on the parameter. At least coming from java background thats possible using jsps, should be doable without problem here too.
But the js way is the most convenient IMHO.