help needed with 'if then' field calculation


hi

 

i trying create field on form adds 20% basic price depending on of options selected drop down menu forms title of form

 

it new/used vehicle form , requires 20% vat added basic price if vehicle "new".

 

if vehicle "used" no vat added

 

can done?

 

if helps use radio buttons establish whether vehicle "new" or "used" @ top of form?

 

i right out of depth here java - lowly designer more concerned making things pretty on page!

 

can of 'techies' help?

yes, , possible without "if" statement , without writing javascript.

 

you need know field names. using following field names, types, , properties:

 

subtotal - amount compute tax on -  numeric field - read write - visible

taxrate - tax rate apply if taxable - numeric field - read - hidden

taxable - 2 check boxes same name - 1 export value of 1 (default checked), other export value 0

taxamount - amount of tax applied - numeric field - read - visible - calculation: "field product of following fields:", subtotal, taxrate, taxable

grandtotal - sum of subtotal , taxamount - numeric field, read only, visible - calculation "field sum of following fields:" taxamount , grandtotal



More discussions in JavaScript


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support