Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

Check only one checkbox advance to Text Field

$
0
0

I’m working in Acrobat Pro DC, I’ve created a form and I have the following issue. The form asks about rental income, whether it is monthly or yearly (the format is below).

 

What I would like to happen, if possible, is if the user clicks the Monthly checkbox (Monthly) the cursor goes to Text 2 and the user enters the monthly amount.

 

If the user clicks the Yearly checkbox (Yearly), the cursor goes to Text1, the user enters the yearly amount. That amount is automatically divided by 12 and shows in the Text2 text field; and the cursor goes to the next text field, Text3.

 

Naturally I do not want the user to be able to click both checkboxes, but I’m sure the coding would take care of that, just not sure how to come up with the coding.

   

Rental Income        £ Monthly

                               £ Yearly, if yes $  Text1  / 12           $  Text2  

 

Thanks for the help.


Viewing all articles
Browse latest Browse all 12130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>