Discounting total amount due numeric field


i working on registration form , need apply discount if 2 particular checkboxes selected. 

 

checkbox #1 – registration = $1595

checkbox #2 – standard registration = $1795

checkbox #3 – special rate = $495

checkbox #4 – optional workshop = $395

numeric field – total payment due

 

if user selects checkbox #1 (early) or #2 (standard), have pay $395 optional workshop.

     total box =

     sum (earlyreg, standardreg, specreg, workshopreg) <-- works

 

if user selects both checkbox #3 (special registration rate) , checkbox #4 (optional workshop), not pay workshop.

 

so instead of $890, pay $495.

     total box =

     ?????

 

i welcome ideas may have , love hear if think i'm going @ in wrong direction.

i new this...would appreciate step-by-step syntax. thanks!

 

it this, hope @ least gives direction....

 

if ((specreg == "1") & (workshopreg == "1")) then
     total = sum (earlyreg, standardreg, 495)
endif



More discussions in LiveCycle Forms


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account