% 'initialize variable totalCost = 0 'change these variables as needed video = 99 scene = 25 voiceover = 100 textoverlay = 10 glidecam = 75 specialeffects = 25 'here's the formula totalCost = video If Request.Form("scenes") > 0 Then totalCost = totalCost + (scene * Request.Form("scenes")) End If If Request.Form("voiceover") Then totalCost = totalCost + voiceover End If If Request.Form("textoverlay") > 0 Then totalCost = totalCost + (textoverlay * Request.Form("textoverlay")) End If If Request.Form("glidecam") Then totalCost = totalCost + glidecam End If If Request.Form("specialeffects") Then totalCost = totalCost + specialeffects End If totalCost = Round(totalCost, 2) %>