We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
The user enters a pay rate on the form, and the code is meant to calculate the charge rate at 20% above the pay rate. eg. a pay rate of 21 gives a charge rate as 25.2 which is correct, and computes correctly on the form.
<SCRIPT Language="VBScript"> Sub CheckChg(currentchg,Pme) dim newrate dim payrate dim bflag dim oflag bflag=document.getElementById("BMFlag").checked oflag=document.getElementById("OPSFlag").checked If Pme="AAA" then payrate= document.getElementById("AAA_P").value newrate=payrate+(payrate * 0.2) msgbox (currentchg.value < newrate) & " : " & currentchg.value & " < " & newrate If currentchg.value < newrate then currentchg.value=newrate end if end if end sub </script>
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.