Number input fields

Hi

I have got three input fields. Net Amount, VAT Amount and Gross Amount. When I enter net amount and press tab to go into VAT amount field, VAT amount stays unchanged until I have clicked outside of that field.

Is there anyway that VAT field is automatically updated realtime as I am typing Net Value? Say, taking 20% of whatever amount is being entered in Net Value field. Or worse case, VAT is updated when my focus on Net Amount field has changed.

I tried using state on value change in Net Amount field but in vain.

Thanks for your help.

You can automatically update VAT as you type in Net Amount by setting up a workflow triggered on value change, or you could try using an Instant Text plugin.

Perfect. Thank you very much.