Button that allows user to enter numbers that create custom payment schedule
- January 13, 2024
- 1 reply
- 1870 views
Hello,
This one may be a bit tricky, so feel free to ask me any questions for clarity.
My boss wants to have a button on our contract that allows our consultants to enter a custom pricing schedule. See attached pdf.
I've created 3 grey buttons at the top of the form so the user can click on the applicable job type. The general idea is:
When the user clicks the "Residential" button, the fields "Phase1_Num", "Phase2_Num", "Phase3_Num", "Phase4_Num", and "Phase5_Num" will show their default values. The pricing above this field should accuractely display the corresponding percentages. For example, the default value for "Phase1_Num" is 10. Therefore, the price shown above this field should be 10% of the "Price" field. The same should apply for all 5 phases so each phase accurately adds up to the total "Price".
Here's the tricky part. When the user clicks the "Custom" button, the user should be able to manually enter custom numbers to change the percentages of each phase to their liking. For example, when the user clicks the "Custom" button, they can enter 20 in the "Phase1_Num" field instead of the default value of 10. The price shown above this field should now be 20% of the "Price". The same should apply for all 5 phases.
I'm sure there will have to be some rules for this to work. Like the numbers entered for each field have to total up to 100 (Nothing more or less), etc.
I'm not even sure if this is possible with Acrobat, but thought I'd give it a try. Thanks in advance for the help!
