AnsweredAssumed Answered

Field to override another field

Question asked by hanstrager on Apr 24, 2013
Latest reply on Apr 24, 2013 by symbister

Title

Field to override another field

Post

     I’ve made a small application to keep track of my receipts and see how much VAT I eventually will get back.

     Sofar I have 3 fields:

     “total amount receipt”

     “total VAT”

     radiobuttons for VAT and noVAT

     The radio buttons works as my “VAT-switch” so whatever number I put in “total amount receipt” if switched to VAT it takes 20% and shows it in “total VAT”

     I now have come across when you sometimes buys from overseas DHL will pay for your VAT in customs, and you have to pay DHL. Where you will be able to deduct whole amount, except from a small administration fee.

     So I need to have a field to put in a “custom VAT” so If I have any special VAT circumstances I can put in the VAT amount myself which then will show up in “total VAT”. Still I need to put in the total receipt amount in “Total amount receipt” and still switch on the VAT switch, though it shouldn’t take 20% of the number in “Total amount receipt” instead when anything is put in the “custom VAT” field it should use that instead.

     Just not sure how to set this up.

Outcomes