Click here to Skip to main content
15,896,201 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi!

I am creating an activ PDF form and I need to include a Java Script code in it. Unfortunately I am not good at all in JavaScript...

There are three fields: the first one has a value (it is the summary of the other two ones), e.g.:there are 100 workers in the company.
Than the user needs to enter the number of men and women workers in that company. The code should prevent from entering (either by men or women) too large value, so the numner of the workers in the first field wouldn't make sense any more, e.g. men: 60, women: 50 (than should come a notification with text why the user should enter the write value). Hopefully I was clear what it is all about...

I would very appreciate, if someone could help me out with this...

Many thanks in advance!
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900